Skip to content

[FEATURE]: Support automatic translation between the UI and API for prompts and responses #16761

Closed as not planned

Description

@kaeru-shigure

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I would like to request a feature that automatically applies Google Translate between user-facing text and the prompts sent to the API.

For example, when a user enters こんにちは or 你好, the text would be translated into Hello before being sent to the API. Likewise, responses returned by the API would be translated back into the user’s native language before being shown in the UI.

This would let the model operate in English, which is often the most efficient language in terms of token usage and overall performance, while still allowing users to interact naturally in their own language.

It would also help in cases where the model’s reasoning or response unexpectedly switches to another language, since the output could still be presented in the user’s native language.

Activity

  1. added
    discussion
    on Mar 9, 2026
  2. added
    core
    on Mar 9, 2026
  3. B0rner commented on Apr 22, 2026

    @B0rner
    Feature hasn't been suggested before.
    
        I have verified this feature I'm about to request hasn't been suggested before.
    
    Describe the enhancement you want to request
    
    I would like to request a feature that automatically applies Google Translate between user-facing text and the prompts sent to the API.
    

    Using google translate for translating is not a good idea, because this is an additional dependency and will not work, if google is not available or if you use opencode in an secured/offline environment with local models.

    #23077 is the better idea: simply add an addition model-call to translate the Input (and if relay needed) the output of the model too, by adding an additional model call, because all the large language models are able to deliver great translations from/to "models favorite language".

  4. assigned and unassigned on Apr 26, 2026
  5. removed
    discussion
    core
    on May 3, 2026
  6. github-actions commented on Jul 4, 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