Language Switcher on opencode Website Does Not Seem to Work #9025

Closed
opened 2026-02-16 18:11:26 -05:00 by yindo · 4 comments
Owner

Originally created by @InCerryGit on GitHub (Feb 10, 2026).

Originally assigned to: @jayair on GitHub.

Description

Hi opencode team,

Thank you for the great work on opencode and the website.

I’d like to share a small piece of feedback regarding the language experience on the opencode website, mainly for your reference.

Observation

While browsing the opencode website and documentation in Simplified Chinese, I noticed that the language switcher does not seem to take effect:

  • After switching the language to English from the language selector, the page content still remains in Chinese.
  • Refreshing the page or navigating to other sections does not appear to change the language.
Image

In addition, some of the current Chinese translations (especially navigation items and proper nouns) can be a bit difficult to understand in places, which makes reading slightly challenging.

Image

I may be missing some expected behavior, so I just wanted to report what I observed (see screenshot).

Small suggestions (for discussion)

Without trying to make any decisions, here are a few possible directions you might consider:

  • Checking or fixing the website language switcher so that switching to English works as expected, and/or
  • Improving or reviewing the Chinese translations for better clarity and consistency, and/or
  • Making it easier for users to fall back to the original language when needed.

Motivation

For users who rely on the language switcher, being able to switch languages reliably is very helpful, especially when reading technical documentation.

Thanks for your time, and I hope this feedback is helpful.
Happy to provide more details if needed.

Best regards

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @InCerryGit on GitHub (Feb 10, 2026). Originally assigned to: @jayair on GitHub. ### Description Hi opencode team, Thank you for the great work on opencode and the website. I’d like to share a small piece of feedback regarding the language experience on the **opencode website**, mainly for your reference. #### Observation While browsing the opencode website and documentation in Simplified Chinese, I noticed that the **language switcher does not seem to take effect**: - After switching the language to **English** from the language selector, the page content still remains in Chinese. - Refreshing the page or navigating to other sections does not appear to change the language. <img width="444" height="841" alt="Image" src="https://github.com/user-attachments/assets/b59d7713-e1e0-4d28-bab0-ee457b2fc5b0" /> In addition, some of the current Chinese translations (especially navigation items and proper nouns) can be a bit difficult to understand in places, which makes reading slightly challenging. <img width="812" height="1964" alt="Image" src="https://github.com/user-attachments/assets/78ec2e09-06e4-4b46-92f1-e3c492940c1c" /> I may be missing some expected behavior, so I just wanted to report what I observed (see screenshot). #### Small suggestions (for discussion) Without trying to make any decisions, here are a few possible directions you might consider: - Checking or fixing the website language switcher so that switching to English works as expected, and/or - Improving or reviewing the Chinese translations for better clarity and consistency, and/or - Making it easier for users to fall back to the original language when needed. #### Motivation For users who rely on the language switcher, being able to switch languages reliably is very helpful, especially when reading technical documentation. Thanks for your time, and I hope this feedback is helpful. Happy to provide more details if needed. Best regards ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugdocs labels 2026-02-16 18:11:26 -05:00
yindo closed this issue 2026-02-16 18:11:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 10, 2026):

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

  • #12063: Web/Desktop: detectLocale() skips English, picks wrong language — This appears to be the same root cause affecting the language switcher functionality on the website.

Please verify if your issue is already being tracked in #12063 before further investigation.

@github-actions[bot] commented on GitHub (Feb 10, 2026): This issue might be a duplicate of or related to existing issues. Please check: - #12063: Web/Desktop: detectLocale() skips English, picks wrong language — This appears to be the same root cause affecting the language switcher functionality on the website. Please verify if your issue is already being tracked in #12063 before further investigation.
Author
Owner

@G36maid commented on GitHub (Feb 11, 2026):

I'm experiencing the same issue here.

Scenario:
Switching from Traditional Chinese (zh-TW) back to English in the footer.

Observation:

  • The URL correctly updates to https://opencode.ai/docs.
  • The page content remains in Traditional Chinese.

Environment:

  • Browser: firefox
@G36maid commented on GitHub (Feb 11, 2026): I'm experiencing the same issue here. **Scenario:** Switching from **Traditional Chinese (zh-TW)** back to **English** in the footer. **Observation:** - The URL correctly updates to `https://opencode.ai/docs`. - The page content **remains in Traditional Chinese**. **Environment:** - Browser: firefox
Author
Owner

@Huliiiiii commented on GitHub (Feb 12, 2026):

A bad translation is worse than no translation at all, not to mention a broken language selector.

The quality of this translation doesn't look like an LLM translation; it looks more like a traditional machine translation.

How did a 200k-line PR (https://github.com/anomalyco/opencode/pull/12681) get merged without review and testing? If you don’t care about users, why are you even translating the docs? If you do care, why use such terrible translation to fob them off?

@Huliiiiii commented on GitHub (Feb 12, 2026): A bad translation is worse than no translation at all, not to mention a broken language selector. The quality of this translation doesn't look like an LLM translation; it looks more like a traditional machine translation. How did a 200k-line PR (https://github.com/anomalyco/opencode/pull/12681) get merged without review and testing? If you don’t care about users, why are you even translating the docs? If you do care, why use such terrible translation to fob them off?
Author
Owner

@Seungjun0906 commented on GitHub (Feb 13, 2026):

@jayair
I have PR for this issue https://github.com/anomalyco/opencode/pull/13109

@Seungjun0906 commented on GitHub (Feb 13, 2026): @jayair I have PR for this issue https://github.com/anomalyco/opencode/pull/13109
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9025