JS translations keep working after import (not resetting locale)
Previously we found out that after importing the new translations the
JSON file that is used for Javascript translations was reverted to the
default language.
To prevent this we now generate the translation file again for the
specific locale after importing.