codex - 💡(How to fix) Fix Codex desktop UI does not update language despite localeOverride=zh-CN and --lang=zh-CN [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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…
GitHub stats
openai/codex#19239Fetched 2026-04-24 05:58:12
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Timeline (top)
labeled ×2commented ×1

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.

Root Cause

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.

RAW_BUFFERClick to expand / collapse

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.

extent analysis

TL;DR

Check the value of the enable_i18n remote feature flag to ensure it is set to true for the affected machine/account.

Guidance

  • Verify the enable_i18n flag is enabled for the user's account or machine by checking the remote feature flag configuration.
  • Confirm that the frontend code is correctly fetching and applying the enable_i18n flag value.
  • If the flag is not enabled, investigate why it is not being fetched or set correctly for the specific machine/account.
  • Test the UI language update with the enable_i18n flag explicitly set to true to isolate the issue.

Example

No code snippet is provided as it is not explicitly supported by the issue.

Notes

The issue may be specific to certain machines/accounts due to the remote feature flag configuration, so the solution may need to be applied on a per-user or per-machine basis.

Recommendation

Apply workaround by ensuring the enable_i18n flag is set to true for the affected machine/account, as this is likely the cause of the issue and a direct fix is not provided.

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…

FAQ

Expected behavior

When the user selects Simplified Chinese in Settings, Codex Desktop should render the UI in Chinese after restart or reload.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING