04-13-2020 06:26 - edited 04-13-2020 06:26
04-13-2020 06:26 - edited 04-13-2020 06:26
Hi,
Does anyone know if there is a possibilitiy to overrule locale settings in the i18n.gettext(). I.e. my language inis nl-NL (dutch) but I still want that i18n.gettext returns the values en-US from.
Kind regards,
Robert
Answered! Go to the Best Answer.
04-21-2020 01:41
04-21-2020 01:41
You can't override the language at runtime, it'll only provide strings based on the currently selected language of the user, using the fallback defined in package.json if the user's language isn't supported by your app.
04-21-2020 01:41
04-21-2020 01:41
You can't override the language at runtime, it'll only provide strings based on the currently selected language of the user, using the fallback defined in package.json if the user's language isn't supported by your app.