mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
added nonExplicitSupportedLngs (#1181)
This commit is contained in:
parent
82be3daf9d
commit
e97d79170d
@ -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