codex - 💡(How to fix) Fix [i18n] Enable zh-CN locale by default / enable i18n experiment

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

完善 Codex 中文本地化 / Improve zh-CN Localization Coverage

现状 / Current Status

Codex 桌面版已有 localeOverride = "zh-CN" 配置项,且应用内置了 zh-CN-wB9Bvfj6.js(479KB,6,161 条翻译)和 native-menu-locales/zh-CN.json(2.2KB)翻译文件。但部分 UI 界面仍显示英文。

发现 / Findings

通过解析 app.asar,我发现:

  1. 翻译文件存在webview/assets/zh-CN-wB9Bvfj6.js - 6,161 条翻译键,覆盖了 settings(1364)、codex(934)、localConversation(847)、composer(542) 等主要模块
  2. 原生菜单已翻译native-menu-locales/zh-CN.json 包含浏览器侧边栏、菜单等原生 UI 翻译
  3. 英文是内置默认语言:没有独立的 en-US 翻译文件,英文直接硬编码在源代码中

翻译覆盖度 / Coverage Breakdown

模块翻译条数
settings1,364
codex (CLI/Agent)934
localConversation847
composer542
electron253
skills184
plugins177
sidebarElectron145
pullRequestsPage127
thread126
其他模块~1,450

建议 / Suggestions

  1. 确保 localeOverride 正确加载(可能需要重启生效)
  2. 对于仍未翻译的字符串,补充 zh-CN 翻译
  3. 在设置界面添加语言切换选项,方便用户切换
  4. 考虑开放社区翻译贡献流程(如 Crowdin/GitLocalize)

谢谢!

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix [i18n] Enable zh-CN locale by default / enable i18n experiment