about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-01-03 20:34:21 +0900
committerGitHub <noreply@github.com>2024-01-03 17:04:21 +0530
commitffd08570a523f8295209d3038e9461e7ce7cb161 (patch)
treeadd1076f698af6a49340bbb013dc5ae2c6eb770b /src/locale/helpers.ts
parentd4bb64c1e659b6e8aa806721b847fa35114ab9b9 (diff)
downloadvoidsky-ffd08570a523f8295209d3038e9461e7ce7cb161.tar.zst
Add Korean localization (#2395)
* Create messages.po

* Add Korean localization
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index ef09e5e68..cdb5514b5 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -110,18 +110,20 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
     switch (lang) {
       case 'en':
         return AppLanguage.en
-      case 'hi':
-        return AppLanguage.hi
-      case 'ja':
-        return AppLanguage.ja
-      case 'fr':
-        return AppLanguage.fr
       // DISABLED until this translation is fixed -prf
       // case 'de':
       //   return AppLanguage.de
       // DISABLED until this translation is more thoroughly reviewed -prf
       // case 'es':
       //   return AppLanguage.es
+      case 'fr':
+        return AppLanguage.fr
+      case 'hi':
+        return AppLanguage.hi
+      case 'ja':
+        return AppLanguage.ja
+      case 'ko':
+        return AppLanguage.ko
       default:
         continue
     }