Language-switching setting is saved, but does not take effect after restarting

Open 💬 4 comments Opened May 15, 2026 by WZC628
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

26.506.3741.0

What subscription do you have?

pro

What platform is your computer?

Windows

What issue are you seeing?

语言切换功能保存设置但重启不生效

What steps can reproduce the bug?

进入设置 → 切换界面语言为「中文 (简体) / zh-CN」
完全退出 App(包括系统托盘)
重新打开 Codex

What is the expected behavior?

界面语言切换为中文。

Additional information

经逆向分析 app.asar 中的 JS 代码,发现:

localeOverride 在 app-session.js 中仅作为配置项 key 被定义了一次
没有任何代码读取该值并调用 app.setLocale() 或动态加载 zh-CN 语言包
实际语言由 app.getLocale() 决定(返回系统 OS 语言,忽略用户设置)

View original on GitHub ↗

4 Comments

etraut-openai contributor · 3 months ago

English translation:

Language-switching setting is saved, but does not take effect after restarting

What version of the Codex App are you using?

26.506.3741.0

What subscription do you have?

Pro

What platform is your computer?

Windows

What issue are you seeing?

The language-switching setting is saved, but it does not take effect after restarting the app.

What steps can reproduce the bug?

  1. Open Settings and switch the interface language to Chinese (Simplified) / zh-CN.
  2. Fully quit the app, including from the system tray.
  3. Reopen Codex.

What is the expected behavior?

The interface language should switch to Chinese.

Additional information

After reverse-engineering the JavaScript code in app.asar, I found that:

  • localeOverride is defined only once in app-session.js as a configuration key.
  • There does not appear to be any code that reads this value and calls app.setLocale() or dynamically loads the zh-CN language pack.
  • The actual language is determined by app.getLocale(), which returns the system OS language and ignores the user setting.
alexzhuustc · 2 months ago

Hope it gets fixed as soon as possible. Such an important setting not taking effect really bothers me.

xylplm · 2 months ago

@etraut-openai This is a very serious bug. I hope it can be fixed as soon as possible. For non-English speaking regions, being unable to switch to other languages is a very painful thing!

NHGAHH · 1 month ago

确实不生效,需要修复下,同事是mac OS没有这个问题

<img width="1800" height="1119" alt="Image" src="https://github.com/user-attachments/assets/c300d721-d814-43d6-a02a-ad43c99454e1" />