Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Overuling language in i18n

ANSWERED

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

 

 

 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

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.

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

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.

Best Answer
0 Votes