docs: language switcher is not working for English #9235

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

Originally created by @sarisia on GitHub (Feb 13, 2026).

Originally assigned to: @jayair on GitHub.

Description

In my environment opencode docs shows Japanese by default and when I select English from language switcher it wrongly shows Japanese page. Switching to other language (e.g. Italiano) works fine.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Open https://opencode.ai/docs/
  2. Navigate to language switcher on bottom of page
  3. Select English

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @sarisia on GitHub (Feb 13, 2026). Originally assigned to: @jayair on GitHub. ### Description In my environment opencode docs shows Japanese by default and when I select English from language switcher it wrongly shows Japanese page. Switching to other language (e.g. Italiano) works fine. - Select Italiano shows https://opencode.ai/docs/it/ - Select English shows https://opencode.ai/docs/ **but it's Japanese** ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce 1. Open https://opencode.ai/docs/ 2. Navigate to language switcher on bottom of page 3. Select English ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bugdocs labels 2026-02-16 18:11:57 -05:00
yindo closed this issue 2026-02-16 18:11:58 -05:00
Author
Owner

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

This issue appears to be a duplicate of existing issues reporting the same language switcher problem. Please check:

  • #13108: /docs/en returns 404 in production and English selection reverts to previous non-English locale
  • #13078: Docs language switcher fails to update content to English (reported from Traditional Chinese)
  • #13057: Language switcher not working when browsing in Simplified Chinese

All of these issues describe the same root cause: selecting English from the language switcher doesn't properly update the page content when your default locale is set to a non-English language (Japanese, Chinese, Korean, etc.).

Consider consolidating efforts on one of the existing issues to avoid duplicate work.

@github-actions[bot] commented on GitHub (Feb 13, 2026): This issue appears to be a duplicate of existing issues reporting the same language switcher problem. Please check: - #13108: `/docs/en returns 404` in production and English selection reverts to previous non-English locale - #13078: Docs language switcher fails to update content to English (reported from Traditional Chinese) - #13057: Language switcher not working when browsing in Simplified Chinese All of these issues describe the same root cause: selecting English from the language switcher doesn't properly update the page content when your default locale is set to a non-English language (Japanese, Chinese, Korean, etc.). Consider consolidating efforts on one of the existing issues to avoid duplicate work.
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
Author
Owner

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

https://github.com/anomalyco/opencode/pull/13449

@areai51 commented on GitHub (Feb 13, 2026): https://github.com/anomalyco/opencode/pull/13449
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9235