Skip to content

[Bug]: Installer uses Simplified Chinese instead of the macOS system language #2171

Description

@cancel-cloud

Description

During the OpenCLI app installation, the interface was displayed in Simplified Chinese even though my MacBook's system language is set to English.

I did not select Chinese during setup. The installer should detect and use the device's preferred language, or fall back to English if the locale cannot be determined.
Although i want to be clear, i clicked the first two "continue" buttons without knowing what was going on, i only translated the last setup screen to English via chatgpt.

Steps to Reproduce

  1. Set the macOS system language to English.
  2. Install the OpenCLI app on the Mac.
  3. Proceed through the installation flow.
  4. Observe that the installation interface is displayed in Simplified Chinese instead of English.

Expected Behavior

The installer should use the operating system's preferred language. In this case, it should display English because the MacBook's system language is English.

If automatic language detection fails, OpenCLI should fall back to English or present a clearly visible language selector.

OpenCLI Version

0.1.36 (after app installation)

Node.js Version

22.x

Operating System

macOS

Logs / Screenshots

Environment:
- macOS 26.5
- macOS system language: English
- Language displayed by the installer: Simplified Chinese
- Node.js: v22.23.1

No error message was shown. `opencli --version` was unavailable because OpenCLIApp was not running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions