mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
update: i18next supporterLngs
...
and remove `nonExplicitSupportedLngs`
This commit is contained in:
parent
2de15f9be2
commit
dae23c3476
@ -134,9 +134,8 @@ export async function initI18n(): Promise<void> {
|
||||
i18next.use(processor);
|
||||
i18next.use(new KoreanPostpositionProcessor());
|
||||
await i18next.init({
|
||||
nonExplicitSupportedLngs: true,
|
||||
fallbackLng: "en",
|
||||
supportedLngs: ["en", "es", "fr", "it", "de", "zh", "pt", "ko", "ja", "ca"],
|
||||
supportedLngs: ["en", "es", "fr", "it", "de", "zh-CN", "zh-TW", "pt-BR", "ko", "ja", "ca-ES"],
|
||||
backend: {
|
||||
loadPath(lng: string, [ ns ]: string[]) {
|
||||
let fileName: string;
|
||||
|
Loading…
Reference in New Issue
Block a user