Description
The Simplified (zh.ts) and Traditional (zht.ts) app dictionaries have drifted behind en.ts: 93 keys exist in English but not in zh/zht, so those strings fall back to English at runtime and the Chinese UI shows mixed-language screens.
Breakdown of the missing keys by prefix:
| Prefix |
Missing |
provider.* (provider connect wizard: Console/OAuth/device-code/remote flows) |
39 |
settings.* (pairing, projects, provider accounts, models) |
18 |
file.* (file viewer preview/source/open-in-browser) |
10 |
pair.* (pairing page body, screen-active toggle, QR/copy errors) |
10 |
session.* |
8 |
command.* |
4 |
home.* |
2 |
common.* |
1 |
server.* |
1 |
Most of these landed with recent features (#49291 device pairing, provider connect flows) that shipped en.ts entries without zh/zht translations. All 63 locales are affected; zh/zht are the ones I can PR for.
The fix adds the missing translations per language (placeholders/$OPENCODE_* vars preserved, terminology per packages/app/AGENTS.md §Localization).
Steps to reproduce
- Set the desktop app locale to 中文.
- Open Settings → Pairing.
- The whole page renders in English instead of Chinese.
Follow-up PR: #52040.
Description
The Simplified (
zh.ts) and Traditional (zht.ts) app dictionaries have drifted behinden.ts: 93 keys exist in English but not in zh/zht, so those strings fall back to English at runtime and the Chinese UI shows mixed-language screens.Breakdown of the missing keys by prefix:
provider.*(provider connect wizard: Console/OAuth/device-code/remote flows)settings.*(pairing, projects, provider accounts, models)file.*(file viewer preview/source/open-in-browser)pair.*(pairing page body, screen-active toggle, QR/copy errors)session.*command.*home.*common.*server.*Most of these landed with recent features (#49291 device pairing, provider connect flows) that shipped
en.tsentries without zh/zht translations. All 63 locales are affected; zh/zht are the ones I can PR for.The fix adds the missing translations per language (placeholders/
$OPENCODE_*vars preserved, terminology perpackages/app/AGENTS.md§Localization).Steps to reproduce
Follow-up PR: #52040.