Open eelkevdbos opened 2 years ago
Hey!
I merged this repo into https://github.com/fnando/i18n-js/tree/v4, and this particular bug has been fixed on that branch.
Can you please replace i18n-json with i18n-js v4 and follow that one readme instead?
To avoid any further confusion, I'll archive this repo. Sorry for the trouble!
Using the following config:
Initial translations are generated correctly using
However, subsequent changes to a locale file (in
config/locales
) do not change the json output. Even weirder, when I completely remove the json files previously outputted and reinvokeI18nJSON.call
the old/original json is again generated. The same behavior holds forI18nJSON.listen
.Important: Rebooting rails and or starting a new rails console session does trigger actual changes, but only once for that session.