mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
Update i18n.ts
This commit is contained in:
parent
15d15d126d
commit
7c0a3019c2
@ -170,7 +170,10 @@ export async function initI18n(): Promise<void> {
|
||||
i18next.use(processor);
|
||||
i18next.use(new KoreanPostpositionProcessor());
|
||||
await i18next.init({
|
||||
fallbackLng: "en",
|
||||
fallbackLng: {
|
||||
"es-MX": ["es-ES", "en"],
|
||||
default: ["en"],
|
||||
},
|
||||
supportedLngs: ["en", "es-ES", "es-MX", "fr", "it", "de", "zh-CN", "zh-TW", "pt-BR", "ko", "ja", "ca-ES"],
|
||||
backend: {
|
||||
loadPath(lng: string, [ns]: string[]) {
|
||||
|
Loading…
Reference in New Issue
Block a user