about summary refs log tree commit diff
path: root/src/locale/languages.ts
diff options
context:
space:
mode:
authorFrudrax Cheng <i@cynosura.one>2025-01-01 03:34:48 +0800
committerGitHub <noreply@github.com>2024-12-31 11:34:48 -0800
commitcf1ccdf8e3ca235447756701eb88e2655c0cdf98 (patch)
treea6252e8bd8dcc092709807f86ea4fc0b3a07463c /src/locale/languages.ts
parent444c4a944e87200f9f470f14a37f63a97c63425e (diff)
downloadvoidsky-cf1ccdf8e3ca235447756701eb88e2655c0cdf98.tar.zst
Update Chinese & Cantonese localization (#7235)
* Update translates from crowdin

* Convert language codes from RFC-1766 to RFC-4646

* Update translates from crowdin

* Update deviceLocales.ts

* Revert 'changes zh-HK to yue'

* Fix zh-HK messages.po

* Revert 'en/messages.po'

* Update deviceLocales.ts

* Revert code comments

* Update translates from crowdin

* zh-TW: Improved translations
Diffstat (limited to 'src/locale/languages.ts')
-rw-r--r--src/locale/languages.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/languages.ts b/src/locale/languages.ts
index 684892037..710ad264e 100644
--- a/src/locale/languages.ts
+++ b/src/locale/languages.ts
@@ -33,9 +33,9 @@ export enum AppLanguage {
   tr = 'tr',
   uk = 'uk',
   vi = 'vi',
-  zh_CN = 'zh-CN',
-  zh_HK = 'zh-HK',
-  zh_TW = 'zh-TW',
+  zh_CN = 'zh-Hans-CN',
+  zh_HK = 'zh-Hant-HK',
+  zh_TW = 'zh-Hant-TW',
 }
 
 interface AppLanguageConfig {