Open hrimhari opened 8 years ago
Hi @rxaviers I am also seeing this issue outlined by @hrimhari where in en the key is displayed instead of the value, in other words it is not getting replaced.
In my code I try to use the method where the string value is placed directly in FormatMessage and so then the key/value pairs in en are the same. There is times however where I need to use a different key e.g message-1 but it does not get picked up from the json.
Have you seen this issue?
I specify developmentLocale: "en" and I have "en" in the list of supportedLocales.
If I don't say anything to Globalize about which locale to use in the app, it will pick the last one loaded.
I wanted to force it to use "en", so I manually did Globalize.locale("en"), but instead of loading the customized messages for "en" it used the default messages in the application.
My app has:
My localization:
If Globalize.locale("fr"), I see in the browser:
Ceci est un message de testGlobalize.formatNumber: numéro 123,46
If Globalize.locale("en"), I see in the browser:
msgTestGlobalize.formatNumber: 123,46
Also a comma where I should be seeing a dot...
My plugin configuration: