added nonExplicitSupportedLngs (#1181)
This commit is contained in:
parent
82be3daf9d
commit
e97d79170d
|
@ -93,8 +93,9 @@ export function initI18n(): void {
|
|||
|
||||
i18next.use(LanguageDetector).init({
|
||||
lng: lang,
|
||||
nonExplicitSupportedLngs: true,
|
||||
fallbackLng: 'en',
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_CN','pt_BR'],
|
||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh','pt'],
|
||||
debug: true,
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
|
|
Loading…
Reference in New Issue