mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
added nonExplicitSupportedLngs
This commit is contained in:
parent
04045623a0
commit
44113ccae7
@ -93,8 +93,9 @@ export function initI18n(): void {
|
|||||||
|
|
||||||
i18next.use(LanguageDetector).init({
|
i18next.use(LanguageDetector).init({
|
||||||
lng: lang,
|
lng: lang,
|
||||||
|
nonExplicitSupportedLngs: true,
|
||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh_CN','pt_BR'],
|
supportedLngs: ['en', 'es', 'fr', 'it', 'de', 'zh','pt'],
|
||||||
debug: true,
|
debug: true,
|
||||||
interpolation: {
|
interpolation: {
|
||||||
escapeValue: false,
|
escapeValue: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user