feat: add Traditional Chinese (zh-Hant) language option (#23322)

The zh-Hant translations are synced from Weblate (98% complete) but the
locale was never registered in the language selector, so users could not
select it. Register zh-Hant in supportedLanguageKeys, add its display
label, and map it to the zh-TW date-fns locale.
This commit is contained in:
Ban
2026-05-27 08:04:41 -05:00
committed by GitHub
parent 39a3667f39
commit 88f944fe81
4 changed files with 5 additions and 0 deletions
+2
View File
@@ -34,6 +34,8 @@ const localeMap: Record<string, () => Promise<Locale>> = {
sk: () => import("date-fns/locale/sk").then((module) => module.sk),
"yue-Hant": () =>
import("date-fns/locale/zh-HK").then((module) => module.zhHK),
"zh-Hant": () =>
import("date-fns/locale/zh-TW").then((module) => module.zhTW),
lt: () => import("date-fns/locale/lt").then((module) => module.lt),
th: () => import("date-fns/locale/th").then((module) => module.th),
ca: () => import("date-fns/locale/ca").then((module) => module.ca),