You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex desktop language selector does not apply on Windows-无法汉化 #24827
Windows客户端遇到无法切换多语言支持情况:
Codex Windows build 26.519.81530
Windows package: OpenAI.Codex_2p2nqsd0c76g0
localeOverride = "zh-CN" is saved in C:\Users\Administrator.codex\config.toml
The language selector accepts zh-CN and other languages, but the UI always stays English.
Chinese language resources exist in the package.
Reset app data, logged out/in, changed networks, reset Windows network stack, and verified HTTPS/TLS now works.
Latest logs show: reason=statsig-disabled
What steps can reproduce the bug?
Codex Windows build 26.519.81530
Windows package: OpenAI.Codex_2p2nqsd0c76g0
localeOverride = "zh-CN" is saved in C:\Users\Administrator.codex\config.toml
The language selector accepts zh-CN and other languages, but the UI always stays English.
Chinese language resources exist in the package.
Reset app data, logged out/in, changed networks, reset Windows network stack, and verified HTTPS/TLS now works.
Latest logs show: reason=statsig-disabled
I was able to reproduce something similar on Windows where the language selector accepts the locale change, but the UI remains in English after restart.
A few things that may help narrow this down for the Codex team:
The localeOverride = "zh-CN" entry appears to save correctly in: C:\Users\Administrator\.codex\config.toml .
Since the Chinese language resources already exist in the package, this may be related to:
locale initialization during startup.
cached renderer state.
or Windows-specific language fallback logic.
You already tested most common fixes (reset app data, relogin, network reset), so this does look like an actual application-side bug rather than configuration error.
Possible workaround to test:
Fully exit Codex from Task Manager.
Delete:
%APPDATA%\OpenAI Codex .
%LOCALAPPDATA%\OpenAI Codex .
Reboot Windows .
Launch Codex once in English.
Then switch to zh-CN before opening any workspace.
It may also help developers if you attach:
config.toml .
startup logs after changing locale.
screenshot of Settings → Language.
Windows display language + region settings.
The reason=statsig-disabled log line might also be relevant if localization rollout depends on feature flags.
Activity
maheerCodes commentedon May 28, 2026
Thanks for the detailed report.
I was able to reproduce something similar on Windows where the language selector accepts the locale change, but the UI remains in English after restart.
A few things that may help narrow this down for the Codex team:
The
localeOverride = "zh-CN"entry appears to save correctly in:C:\Users\Administrator\.codex\config.toml.Since the Chinese language resources already exist in the package, this may be related to:
You already tested most common fixes (reset app data, relogin, network reset), so this does look like an actual application-side bug rather than configuration error.
Possible workaround to test:
%APPDATA%\OpenAI Codex.%LOCALAPPDATA%\OpenAI Codex.zh-CNbefore opening any workspace.It may also help developers if you attach:
config.toml.The
reason=statsig-disabledlog line might also be relevant if localization rollout depends on feature flags.This looks like a valid Windows localization bug.
lianggang405-bit commentedon May 31, 2026
maheerCodes commentedon May 31, 2026
Thanks for investigating and confirming this issue.
I tested the behavior on Windows and can consistently reproduce it:
Additional observations:
Based on testing, this looks like a Windows localization initialization issue rather than a settings-saving problem.
Thank you for tracking the bug. I'm happy to help test future builds or provide additional diagnostics if needed.
zyjtest001git commentedon Jun 14, 2026
I also encountered the same problem on Windows.