Codex desktop UI does not update language despite localeOverride=zh-CN and --lang=zh-CN
Summary
Codex Desktop does not update the app UI language according to the language selected in Settings.
The local setting is saved as localeOverride=zh-CN, and the running Electron renderer process is launched with --lang=zh-CN, but the visible UI remains in English after restart.
Environment
- Codex Desktop: 26.422.21459
- Codex CLI: 0.124.0-alpha.2
- macOS: 26.4.1, build 25E253
- Architecture: arm64
- Selected language: Simplified Chinese /
zh-CN
What I checked
- The local global state contains
localeOverride: "zh-CN". - The running Codex renderer process includes
--lang=zh-CN. - The app bundle contains Simplified Chinese resources, including frontend strings such as “新聊天” and “Codex 设置”.
- Restarting Codex does not change the UI language.
Suspected cause
From the bundled frontend code, UI message loading appears to be gated behind a remote feature flag named enable_i18n. If that flag is false or not fetched for this machine/account, the app still computes the preferred locale but does not pass localized messages to the UI, so it falls back to English defaults.
This would also explain why the issue only reproduces on some machines/accounts.
Expected behavior
When the user selects Simplified Chinese in Settings, Codex Desktop should render the UI in Chinese after restart or reload.
Actual behavior
The UI remains in English even though the saved setting and Electron language are both zh-CN.
10 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I can also reproduce this in Codex Desktop.
Observed behavior:
中文(中国)selected.Default open destination,Language,Prevent sleep while running, etc.This appears to match the original report: the language selection is saved/visible in Settings, but localized UI strings are not applied after restart.
macos 26.4 系统下,遇到过同样问题,最后发现彻底关闭Codex APP,然后开启系统全局代理,然后再打开Codex APP之后重新切换语言就有效了。原因应该是加载语言需要联网。
我也遇到了同样的问题。设置里选了中文但菜单还是英文。Codex Desktop 版本:26.513.31313 (2867)。请帮忙处理。
找到了一个解决方法:
I can reproduce this as well in Codex Desktop.
Observed behavior:
中文(中国)selected.Language for the app UI.General,Appearance,Configuration,Personalization,MCP servers, etc.) and General settings labels such asDefault open destination,Language,Show in menu bar, andPrevent sleep while running.This is still reproducible as of 2026-05-18.
I’m seeing the same issue on Windows.
Environment:
What happens:
Expected:
This looks consistent with the original report: the language setting is saved, but the localized UI strings are not being applied.
Windows 版 26.527.31326,localeOverride = zh-CN 已保存,但主界面仍英文。
Adding another reproduction from macOS with Simplified Chinese.
Environment
zh-CN(中文(中国))What was tried
中文(中国)中文(中国)Actual behavior
The language selector shows
中文(中国), but the app UI remains in English. In the captured Settings screen, these labels are still English after the language is set to Chinese:Expected behavior
The desktop UI should switch to Simplified Chinese after selecting
中文(中国)and restarting the app.Adding a summary from several reproductions:
localeOverrideis saved aszh-CN.--lang=zh-CN.One reported workaround was to fully quit Codex, enable a system-wide proxy before launching, then switch the language again. That suggests this may involve startup-time fetching of remote i18n config, feature flags, or server-side rollout state.
Could maintainers confirm whether Desktop UI localization is gated by a remote
enable_i18nflag or another server-side config?If the Desktop UI i18n code is not part of this public repo, an external PR may not be able to fix it. In that case, please route this to the internal Desktop/i18n config owner.