Added user lang setting

This commit is contained in:
vjrj 2018-01-09 12:05:36 +01:00
parent fc56bd3273
commit 97c47c5d1d
7 changed files with 90 additions and 21 deletions

View file

@ -20,14 +20,8 @@ const shouldDebug = (forceDebug && !Meteor.isProduction);
const i18nOpts = {
backend: backOpts,
lng: 'es',
// fallbackLng: 'es',
fallbackLng: {
'en-US': ['en'],
'en-GB': ['en'],
'pt-BR': ['pt'],
default: ['es']
},
// lng: 'es',
fallbackLng: ['es', 'en'],
interpolation: {
escapeValue: false, // not needed for react!!
formatSeparator: ',',