Skip to content

[Feature] Support Chinese (zh-CN) locale #40270

Closed as not planned
Closed as not planned

Description

@ceipo

Feature Request

Is your feature request related to a problem? Please describe.
opencode currently only supports English UI. As a Chinese user, I would like opencode to support Chinese (zh-CN) locale.

Describe the solution you'd like
Add a locale setting in opencode.json config, e.g.: "locale: "zh-CN", and translate the TUI interface and prompts into Chinese.

Describe alternatives you've considered
Auto-detect system locale and switch language automatically.

Additional context
None

Activity

  1. github-actions commented on Aug 3, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please review these issues and consider adding your input there instead of opening a new one.

  2. liudongyan13701205717-source commented on Aug 9, 2026

    @liudongyan13701205717-source

    As a Chinese-speaking Windows desktop user, +1. The English-only UI adds friction for me daily; auto-detect system locale is the best approach.

  3. liudongyan13701205717-source commented on Aug 14, 2026

    @liudongyan13701205717-source

    +1 again. The linked PR #40297 (feat(tui): add Chinese locale support) was closed without being merged (merged: false), so zh-CN locale is still not available — the issue remains open.

    Auto-detecting the system locale (LC_ALL / LC_MESSAGES / LANG, as #40297 implemented) plus an explicit locale: zh-CN setting would remove daily friction for Chinese-speaking users. Is there a follow-up PR planned, or would the maintainers welcome a community contributor picking this up? I'm happy to help test on Windows Desktop once a build is available.

  4. github-actions commented on Oct 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions