-
Notifications
You must be signed in to change notification settings - Fork 7.1k
feat(app): add i18n internationalization support #7290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Fixes error when directory paths contain non-ASCII characters (e.g., Chinese) by using percent-encoding for the x-opencode-directory header, as HTTP headers must be ISO-8859-1 compatible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found a related PR: Potential Duplicate:
This PR appears to be addressing the same feature (i18n internationalization support). PR #6776 seems to be an earlier implementation, and PR #7290 may be an updated or expanded version with additional language support (including Korean translations in #6776 context). Note: PR #1581 ( |
|
I believe the OpenCode DeskTop should be aimed at non-programmers. I am also preparing to use OpenCode to develop products for non-programmers, so language support seems essential. |
|
@jwaterwater please add some screenshots |
|
Hey, @jwaterwater, really sorry for the delay, but I would like to merge this. Do you mind doing a rebase and I'll get it merged? |
|
@adamdotdevin May consider #9190? which running by GPT 5.2 high and human initial seed. |
…d clarifying instructions (anomalyco#7268)
- Add @solid-primitives/i18n dependency - Create i18n infrastructure (context, hooks, locale files) - Support 5 languages: English, 简体中文, 日本語, Français, Español - Auto-detect browser language - Add language switcher dialog (sidebar settings gear icon) - Translate home page - Translate sidebar layout (including command palette) - Translate session-related pages (session-header, session-new-view) Co-Authored-By: Claude <noreply@anthropic.com>
c774e17 to
316ba48
Compare
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
#9190 translation item count is 358 vs 107 (this PR), I also not add any UI button to enable translation, need total change |





feat(app): add i18n internationalization support