Skip to content

Feature request: preferred language setting #24302

Closed as not planned
Closed as not planned

Description

@alfredocristofano

Description

Currently, OpenCode does not provide a way to set a preferred language for UI messages and assistant responses. Some users prefer configuring a language once so responses stay consistent across sessions.

Proposed behavior

  1. Add a configuration option (e.g., language or locale) in the settings file (e.g., .opencode/config) or via the /settings command.
  2. When set, the application should use that language for:
    • Assistant responses
    • UI labels and messages in the TUI
    • Generated code comments and documentation when not explicitly overridden by the user
  3. Default to the system locale or English if not specified.

Use case

For non-English-speaking developers, this would improve the user experience by avoiding the need to prepend "reply in Italian" to every prompt. It also helps maintain consistency across sessions.

Additional context

OpenCode already has multi-language READMEs, showing awareness of international users. This could also integrate with project-level configuration so repositories can specify a default language preference.

Activity

  1. added
    core
    on Apr 25, 2026
  2. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The title should start with [FEATURE]: for feature requests (e.g., [FEATURE]: Preferred language setting)
    • The feature request template requires a verification checkbox confirming the feature hasn't been requested before

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. added
    needs:compliance
    on Apr 25, 2026
  4. github-actions commented on Apr 27, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! However, it still needs a couple of fixes to meet our Feature Request template requirements:

    1. Title prefix: The title should start with [FEATURE]: (e.g., [FEATURE]: preferred language setting).
    2. Verification checkbox: Feature requests require a checkbox confirming you've searched for existing issues/requests and that this isn't a duplicate. Please add that to your issue.

    Once those are addressed, we'll be happy to remove the needs:compliance label.

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

Metadata

Metadata

Assignees

Labels

coreneeds:compliance

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions