Repository navigation
Description
Description
My desktop app language is Chinese (Simplified). On Settings -> Browser everything except the sidebar is English: "Browser", "Import from another browser", "Import...", "Extensions", "Add an extension", "Install from the Chrome Web Store, Edge Add-ons, or your other browsers", "Some extensions may not work here yet", "Open links in OpenCode", "Hold Shift and click a link to use your default browser", "Advanced", "Remote servers, site permissions, browsing data, cookie file". In the sidebar every entry is Chinese except "Browser" and "Pairing".
This is missing dictionary entries rather than a rendering bug. Measured on dev on 2026-11-24:
packages/gui-plugins/src/browser/i18n: the English table has 428 keys,zh.tshas 38, so 390 keys (91%) fall back to English. That directory has 63 locale files, and every one of them is missing the same 390 keys - I counted de, fr, ja, ru, es, ko, vi, th, tr, uk, ar and hi, each has 38-42 keys. So Settings -> Browser is English in every language, not only in Chinese.- The strings in that first bullet are exactly what my screen shows, and none of them exists in
zh.ts:settings.title("Browser", which is also the sidebar entry),settings.import.title,signins.action("Import"),settings.extensions.title("Extensions"),settings.extensions.add.title,settings.extensions.note,settings.links.title,settings.links.description,settings.advanced("Advanced"),settings.advanced.summary. Greppingzh.tsforsettings.,signins.,extensionsoradvancedreturns nothing at all. - Four other plugin dictionaries have no locale files at all:
packages/gui-plugins/src/btw/i18n,goal/i18n,sources/i18nandmicrosoft-office/i18ncontain onlyen.ts.pairing/i18nis in the same state (24 keys,en.tsonly), which is why the whole Pairing page is English for me; that page is already tracked in [BUG]: zh/zht locale dictionaries missing 93 keys present in en (pairing, provider connect, file viewer) #53858, so I am not asking for it again here. - For comparison, the rest is close to complete:
packages/app/src/runtime/i18nhas 1416 English keys against 1385 in zh (107 missing, tracked in [BUG]: zh/zht locale dictionaries missing 93 keys present in en (pairing, provider connect, file viewer) #53858),packages/ui/src/i18n389 against 381 (8 missing), and the file, review, terminal, updater, context, details, ssh and wsl plugins are 0-22% missing. The 91% gap is specific to the built-in browser.
So the scope of this issue is the built-in browser dictionary only. #53858 covers the app dictionary and the Pairing page; it does not count gui-plugins/src/browser/i18n.
One thing worth checking: #61453 was closed with "Every locale, including Turkish, now has all of the English keys in the app, ui and GUI plugin dictionaries" (PR #64205). That does not hold for packages/gui-plugins/src/browser/i18n on dev today.
Plugins
Nothing installed. The built-in browser ships with the desktop app.
OpenCode version
opencode v2.4.1 (desktop app 2.4.1)
Steps to reproduce
- Set the app language to Chinese (Settings -> General -> Language).
- Open Settings and click Browser in the sidebar.
- The whole page body is English.
Expected: these strings follow the selected language, like the rest of Settings.
Actual: they fall back to English.
Screenshot
Not attached. The key counts above can be reproduced from the files listed.
Operating System
Windows 11 build 26300
Terminal
Desktop app (Electron)
Activity
opencodejr commentedon Nov 24, 2026
Not observed; this looks likely from reading the code.
Thanks for the detailed counts. I couldn't run the desktop app here, so I haven't seen the page myself. I did confirm the cause by loading the dictionary files from the v2.4.1 tag and from the latest
dev(adc958a); the numbers are the same on both:packages/gui-plugins/src/browser/i18n/en.tshas 433 keys.zh,deandjahave 40 andfrhas 41, so 393 keys fall back to English. That includes the Settings → Browser rows you listed, such assettings.import.title,settings.links.titleandsettings.extensions.note.pairing,btw,goal,sourcesandmicrosoft-officehave onlyen.ts, and the pairing plugin registers onlyen. That's where the English "Pairing" in the sidebar comes from.The script below prints these counts for any checkout. Related: #53858 (zh/zht gaps in the app dictionary and the pairing page).
Reproduction script (count.ts)
Run it:
bun count.tspqminh27 commentedon Nov 25, 2026
Hi, I’m adding Vietnamese translations for the Browser settings in #66085. I’m checking the wording and screenshots before opening a draft PR.