Repository navigation
Replies: 3 comments
|
+1 from a Traditional Chinese (Taiwan) user. The missing 繁體中文 option is the main reason my UI is still in English: the Simplified terms (设置, 项目, 线程) read as foreign in Taiwan. What would matter most to me:
Happy to test builds on Windows/Android and to review Taiwan wording as more strings get translated. Thanks for writing this up. |
0 replies
|
Adding a request from a Taiwan user: please add Traditional Chinese (zh-TW) as a UI locale, separate from Simplified Chinese. Traditional characters and Taiwan terms differ from Simplified ones, so Simplified text does not serve Taiwan users. Please keep zh-TW as its own locale in the i18n framework. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem / use case
T3 Code now ships a language setting with Simplified Chinese (
zh), but nothing for Traditional Chinese readers in Taiwan, Hong Kong and Macau. TodayresolveLocaledeliberately keepszh-Hant/zh-TW/zh-HK/zh-MOsystems off the Simplified catalog, so "System default" shows them English, and picking 中文(简体) by hand gives mainland vocabulary that reads as foreign in Taiwan (设置 vs 設定, 项目 vs 專案, 线程 vs 討論串, 归档 vs 封存, 快捷键 vs 快速鍵, 仓库 vs 儲存庫, 默认 vs 預設).Proposed solution
Add
zh-TWas one more data-only locale on the existing gt-react / gt-react-native setup, covering exactly the stringszhcovers today, with no component changes:apps/web/src/i18n/translations/zh-TW.jsonandapps/mobile/src/i18n/translations/zh-TW.json: same keys asen.json, translated from English with Taiwanese UI conventions (not character-converted fromzh).zh-TWadded to bothgt.config.jsonlocale lists and to the mobile catalog map.apps/marketing/src/i18n/zh-TW.tsat/zh-tw, listed as 繁體中文.packages/client-runtime/src/locales.ts: native name 中文(繁體), and Traditional system tags (zh-Hant*,zh-TW,zh-HK,zh-MO, including_separated forms) resolve tozh-TWwhen it is supported. Simplified tags still resolve tozh, and without azh-TWcatalog Traditional systems still fall back to English, as now.English stays the source, default and fallback. Future strings can be generated with
i18n:translatelike the other locales.Status
I have this implemented locally:
zh-TWcatalogs keyed and placeholder-checked againsten, a focusedresolveLocaletest (16 cases, including the Traditional/Simplified boundary), andvp run check:changedpassing. A second model reviewed every string against the English source for accuracy and Taiwanese usage.Per CONTRIBUTING.md#prior-approval, I'd like explicit approval of this direction and scope before opening the PR. I'm a native Traditional Chinese (Taiwan) speaker and happy to review
zh-TWwording as more of the UI gets translated.Related: #6789 (i18n foundation), #31313 (language setting).
All reactions