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 Windows app: top menu dropdown items remain in English when Windows and Codex UI language are set to Simplified Chinese #26890
The Codex Windows app is partially localized into Simplified Chinese, but the top application menu dropdown items remain in English. For example, the menu bar labels such as File/Edit/View/Window/Help may appear localized, but opening their dropdown menus still shows English items.
Steps to reproduce
Set Windows display language/UI culture to Simplified Chinese (zh-CN).
Set Codex UI language override to Simplified Chinese (localeOverride = "zh-CN").
Restart Windows.
Open Codex Windows desktop app.
Open the top menu dropdowns, such as File/Edit/View/Window/Help.
Expected behavior
All menu bar and dropdown menu items should be localized consistently in Simplified Chinese.
Actual behavior
Some or all dropdown menu items remain in English even after both Windows and Codex UI language settings are set to Simplified Chinese and the system has been restarted.
common.close → 关闭 (exists in locale but not used for menu items)
❌ NOT translated (hardcoded in Electron main process):
File menu: Close, New Window, New Chat, Quick Chat, Open Folder..., Settings..., Log Out
Edit menu: standard Electron role-based items
View menu: Reload Window, Toggle Full Screen, Actual Size, Zoom In/Zoom Out
Help menu: Codex Documentation, Send Feedback, Check for Updates…
These labels use template literals directly: label:Log Out``
Missing i18n keys
The zh-CN locale file (zh-CN-CwNof08D.js) has no keys for: newWindow, newChat, quickChat, openFolder, logOut, settings (as menu label), or any of the View/Help menu items.
The native-menu-locales/zh-CN.json in app.asar only contains browser error page and dialog translations — zero menu item translations.
Fix Required
The menu item definitions in the Electron main process need to:
Replace hardcoded label:English Text`` with formatMessage('menu.item.key') calls
Add corresponding i18n keys to all locale files (zh-CN, ja-JP, etc.)
Ensure the main process loads the correct locale from config.tomldesktop.localeOverride
Still reproducible in the current Microsoft Store build 26.616.5445.0 on Windows (verified June 20, 2026).
The top-level menu is localized into Simplified Chinese, but the File dropdown still shows English entries such as New Window, New Chat, Quick Chat, Open Folder..., Close, Settings..., and Log Out. This confirms that the issue remains after multiple releases since the originally reported 26.602 build.
This is also part of a broader localization-completeness problem: settings, tooltips, option descriptions, and other smaller UI strings can still fall back to English, as tracked in #27255.
Could the team please prioritize:
Localizing all native Windows menu items instead of leaving hardcoded English labels.
Auditing all user-facing zh-CN strings across the desktop app, including settings, dialogs, tooltips, onboarding, plugins/integrations, and newly added features.
Adding an automated localization-completeness check so new hardcoded or missing strings do not regress into mixed-language UI.
The mixed Chinese/English interface has persisted for months and makes the Windows app feel unfinished for Chinese users. Please provide a status update or target release if possible.
Activity
github-actions commentedon Jun 7, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
niuwenkui commentedon Jun 9, 2026
Root Cause Analysis (Deep Dive)
After extensive source code analysis of the Codex Desktop app.asar, I've identified the exact root cause:
The Problem: Hardcoded English labels in Electron main process
The Electron native menu items use hardcoded English strings instead of i18n translation calls.
Evidence from main process code:
What IS translated vs What ISN'T
✅ Translated (via i18n system):
windowsMenuBar.file→ 文件,windowsMenuBar.edit→ 编辑,windowsMenuBar.view→ 查看,windowsMenuBar.help→ 帮助,windowsMenuBar.window→ 窗口common.close→ 关闭 (exists in locale but not used for menu items)❌ NOT translated (hardcoded in Electron main process):
label:Log Out``Missing i18n keys
The zh-CN locale file (
zh-CN-CwNof08D.js) has no keys for:newWindow,newChat,quickChat,openFolder,logOut,settings(as menu label), or any of the View/Help menu items.The
native-menu-locales/zh-CN.jsonin app.asar only contains browser error page and dialog translations — zero menu item translations.Fix Required
The menu item definitions in the Electron main process need to:
label:English Text`` withformatMessage('menu.item.key')callsconfig.tomldesktop.localeOverrideEnvironment (for reference)
localeOverride = zh-CNsummer521521 commentedon Jun 20, 2026
Still reproducible in the current Microsoft Store build 26.616.5445.0 on Windows (verified June 20, 2026).
The top-level menu is localized into Simplified Chinese, but the File dropdown still shows English entries such as
New Window,New Chat,Quick Chat,Open Folder...,Close,Settings..., andLog Out. This confirms that the issue remains after multiple releases since the originally reported 26.602 build.This is also part of a broader localization-completeness problem: settings, tooltips, option descriptions, and other smaller UI strings can still fall back to English, as tracked in #27255.
Could the team please prioritize:
zh-CNstrings across the desktop app, including settings, dialogs, tooltips, onboarding, plugins/integrations, and newly added features.The mixed Chinese/English interface has persisted for months and makes the Windows app feel unfinished for Chinese users. Please provide a status update or target release if possible.