Skip to content

Codex desktop language selector does not apply on Windows-无法汉化 #24827

Open

Description

@lianggang405-bit

What issue are you seeing?

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

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on May 27, 2026
  2. maheerCodes commented on May 28, 2026

    @maheerCodes

    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:

      • 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:

    1. Fully exit Codex from Task Manager.
    2. Delete:
      • %APPDATA%\OpenAI Codex .
      • %LOCALAPPDATA%\OpenAI Codex .
    3. Reboot Windows .
    4. Launch Codex once in English.
    5. 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.

    This looks like a valid Windows localization bug.

  3. lianggang405-bit commented on May 31, 2026

    @lianggang405-bit
    Author
  4. maheerCodes commented on May 31, 2026

    @maheerCodes

    Thanks for investigating and confirming this issue.

    I tested the behavior on Windows and can consistently reproduce it:

    • The language selector allows changing the language.
    • The setting appears to be saved successfully.
    • After restarting Codex Desktop, the UI remains in English.
    • Reinstalling the application and restarting Windows did not resolve the problem.

    Additional observations:

    • The issue appears to be specific to the Windows desktop client.
    • Configuration persistence seems to work correctly.
    • The selected language is not fully applied during application startup.

    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.

  5. zyjtest001git commented on Jun 14, 2026

    @zyjtest001git

    I also encountered the same problem on Windows.

  6. added
    app
    windows-os
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions