Add Korean localization (#2395)

* Create messages.po

* Add Korean localization
This commit is contained in:
Minseo Lee
2024-01-03 20:34:21 +09:00
committed by GitHub
parent d4bb64c1e6
commit ffd08570a5
6 changed files with 3334 additions and 40 deletions
+16 -12
View File
@@ -12,18 +12,6 @@ export async function dynamicActivate(locale: AppLanguage) {
let mod: any
switch (locale) {
case AppLanguage.hi: {
mod = await import(`./locales/hi/messages`)
break
}
case AppLanguage.ja: {
mod = await import(`./locales/ja/messages`)
break
}
case AppLanguage.fr: {
mod = await import(`./locales/fr/messages`)
break
}
// DISABLED until this translation is fixed -prf
// case AppLanguage.de: {
// mod = await import(`./locales/de/messages`)
@@ -34,6 +22,22 @@ export async function dynamicActivate(locale: AppLanguage) {
// 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
}
case AppLanguage.ja: {
mod = await import(`./locales/ja/messages`)
break
}
case AppLanguage.ko: {
mod = await import(`./locales/ko/messages`)
break
}
default: {
mod = await import(`./locales/en/messages`)
break