GertjanReynaert / react-intl-translations-manager

Manage all translations based on the extracted messages of the babel-plugin-react-intl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deletes all keys of maintained file

emkayy opened this issue · comments

Hi there,

this is my setup:

manageTranslations({
  messagesDirectory: 'i18n/lang/',
  translationsDirectory: 'i18n/compiled-lang/',
  whitelistsDirectory: 'i18n/whitelist/',
  languages: ['en']
});

If I run it, it will just delete all the key in the maintained en.json file.
Even if all the translations are the same as in the default language, it won't give me an untranslated warning.

Can anyone help?

Same here, always creates an empty json file for the translated messages and says everything is alright.