Skip to content

zh-TW shows Simplified Chinese in the command palette and settings section names #5377

Open

Description

@heeoneie

Summary

In apps/desktop/src/renderer/locales/shell-copy.ts, the zh-CN and zh-TW catalogs both point at the same two module-level constants:

L1083–1084  zh-CN → commands: ZH_STATIC_COMMANDS, settingsSections: ZH_SETTINGS_SECTIONS
L1585–1586  zh-TW → commands: ZH_STATIC_COMMANDS, settingsSections: ZH_SETTINGS_SECTIONS

Those constants are written in Simplified Chinese. 54 of the 62 CJK values in ZH_STATIC_COMMANDS and 10 of the 16 in ZH_SETTINGS_SECTIONS contain Simplified-only characters — 47 distinct ones, including 开, 设, 务, 关, 话, 记, 载, 复, 归, 档 and 择.

So a zh-TW user sees Simplified text in the command palette and in the settings section names, while the rest of the app is Traditional.

Line Value served to zh-TW Expected
726 'archived-tasks': '已归档任务' 已歸檔任務
721 appearance: '外观' 外觀
530 'action:new-chat' label '新建任务' 新建任務
547 'action:open-settings' label '打开设置' 打開設定
601 label: '复制诊断信息' 複製診斷資訊

This is only the shared constants

The zh-TW block itself is correct Traditional Chinese. The same string inside the catalogs is split properly — archiveFailedTitle is '归档任务失败' at L892 (zh-CN) and '歸檔任務失敗' at L1394 (zh-TW). The divergence is confined to the two shared constants, which is why it shows up in the command palette and settings sections and nowhere else.

Scope: 86 strings.

Notes

Found while measuring the scope of #3977, but independent of it — this affects shipped zh-TW builds today and has nothing to do with the Korean locale work. Related in kind to #5289, though the cause is different: that one is merge-order drift on a single string, this is a structural sharing decision.

I'm not a Chinese speaker, so I'm reporting this rather than taking it — deciding between separate ZH_TW_* constants and another approach, and writing the Traditional copy, both want someone who reads both variants.

Measurements above were taken on stack/i18n-ko-core at a193ad8d1.

Activity

  1. seekskyworld commented on Sep 16, 2026

    @seekskyworld
    Contributor

    take

  2. added
    bug
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions