Repository navigation
Description
Description
packages/app/src/runtime/i18n/en.ts has 27 app-owned keys that at least one non-English dictionary does not translate; 23 of them are missing from all 62 locales. Each locale dictionary is merged on top of the English one ({ ...base, ...a.dict, ...b.dict } in language.tsx:112-114), so a missing key resolves to the English string, not undefined — the visible result is a mixed-language UI.
A 简体中文 user sees, for example:
| Key | English shown |
|---|---|
settings.plugins.check |
Check for updates |
settings.plugins.checking |
Checking for updates |
settings.plugins.update |
Update |
project.start.reconnect |
Reconnect |
dialog.directory.breadcrumbs |
Folder path |
Concrete places: Settings › Extensions plugin update button, the folder picker breadcrumb, and the project Reconnect state (thanks @opencodejr for confirming these on dev and bd115fd).
Expected
Every app-owned key in the English source has a translation in every locale, or is explicitly tracked as pending.
Steps to reproduce
- Check out
bd115fd(or currentdev). - Compare the keys in
packages/app/src/runtime/i18n/en.tswithzh.ts. - 23 keys are absent from
zh.ts; the runtime falls back to English for each one.
Version note
These 23 keys are not in the released @opencode/[email protected]. They landed on Nov 16–17 via #64220, #64241, #64212 and #64511, and are in the v2.3.1 tag, which is not on npm yet.
Why report this
#50772 proposed parity tests but was closed for not identifying a concrete translation failure. This is that failure. A parity test existed at packages/app/src/i18n/parity.test.ts until it was dropped in #41930. I intend to submit a small test-only PR that fails when a new English key is missing from every locale, with the currently missing keys in a temporary allow-list that shrinks as translations land.
Plugins
none
OpenCode version
source at commit bd115fd (package version 2.3.0; keys are in the v2.3.1 tag)
Operating System
macOS (reporter); the defect is locale data and platform-independent
Terminal
not applicable
Screenshot
not applicable — reproducible from dictionary contents
Activity
opencodejr commentedon Nov 17, 2026
Not observed; this looks likely from reading the code.
Thanks for the precise report. I confirmed it on the latest
dev(9cfff5f) and atbd115fdby comparing the dictionaries.packages/app/src/runtime/i18n/en.tshas 23 keys that none of the 62 locale files translate. They are the keys you list, plusproject.browse.*,settings.providers.disconnect.*,settings.providers.account.remove.*,settings.helpFeedbackand a few others. They are all shown in the UI, for example the plugin Check for updates button in Settings › Extensions, the folder picker's breadcrumb label and the project Reconnect state.One small correction:
t()does not returnundefinedfor these keys.language.tsxbuilds each locale on top of the English dictionary ({ ...base, ...a.dict, ...b.dict }), so the English text is what shows. The visible result is the one you describe.Two notes on versions:
@opencode/[email protected]doesn't contain these 23 keys at all. They were added on Nov 16–17 (feat(app): replace Home in the desktop Projects sidebar #64220, feat(app): redesign the open project folder picker #64241, fix(app): confirm before disconnecting providers or removing accounts in settings #64212, feat(app): check for and install plugin updates in Settings › Extensions #64511) and are in thev2.3.1tag, which isn't on npm yet. In 2.3.0,zh.tswas missing a much larger set (596 keys), and fix(app): add missing translations #64205 filled those in.The script below prints the keys that every locale is missing for any git ref, for example
missing-keys.sh /path/to/opencode HEAD.Related: #53858 and #51868 (earlier reports of zh keys falling back to English) and #50772 (an earlier parity-test proposal, closed as not planned).
Reproduction script (missing-keys.sh)
Run it:
bash missing-keys.shLeegenux commentedon Dec 1, 2026
Following up from #67357. On
dev(095d863), the 42 App Settings keys below are present inpackages/app/src/runtime/i18n/en.tsand missing from all 62 non-English App dictionaries.The newer Preferences gaps include navigation mode, tab position and grouping, the shared side panel, the question submit key, smooth scrolling, and keeping the service running. Timeline Settings also falls back to English for the code block wrapping control.
42 App Settings keys
The first follow-up, #67433, covers these 42 App Settings keys in Danish, German, Faroese, Icelandic, Dutch, Norwegian, and Swedish. It includes before-and-after screenshots in German and Dutch.