You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Support automatic translation between the UI and API for prompts and responses #16761
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.
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".
Activity
B0rner commentedon Apr 22, 2026
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".
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.