diff options
Diffstat (limited to 'src/locale/i18n.web.ts')
-rw-r--r-- | src/locale/i18n.web.ts | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/src/locale/i18n.web.ts b/src/locale/i18n.web.ts index bf6f6e196..1fb9c2d70 100644 --- a/src/locale/i18n.web.ts +++ b/src/locale/i18n.web.ts @@ -12,6 +12,19 @@ export async function dynamicActivate(locale: AppLanguage) { let mod: any switch (locale) { + // DISABLED until this translation is fixed -prf + // case AppLanguage.de: { + // mod = await import(`./locales/de/messages`) + // break + // } + case AppLanguage.es: { + mod = await import(`./locales/es/messages`) + break + } + case AppLanguage.fr: { + mod = await import(`./locales/fr/messages`) + break + } case AppLanguage.hi: { mod = await import(`./locales/hi/messages`) break @@ -20,20 +33,18 @@ export async function dynamicActivate(locale: AppLanguage) { mod = await import(`./locales/ja/messages`) break } - case AppLanguage.fr: { - mod = await import(`./locales/fr/messages`) + case AppLanguage.ko: { + mod = await import(`./locales/ko/messages`) + break + } + case AppLanguage.pt_BR: { + mod = await import(`./locales/pt-BR/messages`) + break + } + case AppLanguage.uk: { + mod = await import(`./locales/uk/messages`) break } - // DISABLED until this translation is fixed -prf - // case AppLanguage.de: { - // mod = await import(`./locales/de/messages`) - // break - // } - // DISABLED until this translation is more thoroughly reviewed -prf - // case AppLanguage.es: { - // mod = await import(`./locales/es/messages`) - // break - // } default: { mod = await import(`./locales/en/messages`) break |