added nonExplicitSupportedLngs (#1181)

This commit is contained in:
José Ricardo Fleury Oliveira 2024-05-21 00:26:53 -03:00 committed by GitHub
parent 82be3daf9d
commit e97d79170d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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,