about summary refs log tree commit diff
path: root/src/locale/helpers.ts
diff options
context:
space:
mode:
authorNawapon Boonjua <99713905+Rinechxn@users.noreply.github.com>2024-10-31 02:13:08 +0700
committerGitHub <noreply@github.com>2024-10-30 12:13:08 -0700
commit9a82d20bd9c3c1df95d3cc11804f962547f9cb0f (patch)
tree3d02140b7b38ad5c48f9471ab38c232727c7e0e9 /src/locale/helpers.ts
parente9f6a8e58d69ea3a210da895f1159c682467ecff (diff)
downloadvoidsky-9a82d20bd9c3c1df95d3cc11804f962547f9cb0f.tar.zst
add Thai Language translation support (#5879)
* add Thai Language support

* Update lingui.config.js

* Update dates.ts

* Update helpers.ts

* Update i18n.ts

* Update i18n.web.ts

* Update languages.ts

* Update messages.po

---------

Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Diffstat (limited to 'src/locale/helpers.ts')
-rw-r--r--src/locale/helpers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locale/helpers.ts b/src/locale/helpers.ts
index 0d215a9d7..4613533ab 100644
--- a/src/locale/helpers.ts
+++ b/src/locale/helpers.ts
@@ -149,6 +149,8 @@ export function sanitizeAppLanguageSetting(appLanguage: string): AppLanguage {
         return AppLanguage.pt_BR
       case 'ru':
         return AppLanguage.ru
+      case 'th':
+        return AppLanguage.th
       case 'tr':
         return AppLanguage.tr
       case 'uk':