Fix docs locale switcher serving Korean content on English selection #9411

Closed
opened 2026-02-16 18:12:23 -05:00 by yindo · 2 comments
Owner

Originally created by @scarf005 on GitHub (Feb 15, 2026).

Originally assigned to: @jayair on GitHub.

Bug

On https://opencode.ai/docs/rules/, the page renders Korean content even when English is selected from the footer language selector.

Steps to reproduce

  1. Open https://opencode.ai/docs/rules/
  2. Confirm the page content is Korean
  3. In the footer language selector, choose English
  4. Observe redirect to https://opencode.ai/docs/rules/

Actual

The URL remains /docs/rules/ and content is still Korean.

Expected

Selecting English should render the English docs page/content for rules.

Notes

Likely locale resolution/path handling issue when switching from a localized route back to the canonical docs path.

Originally created by @scarf005 on GitHub (Feb 15, 2026). Originally assigned to: @jayair on GitHub. ## Bug On https://opencode.ai/docs/rules/, the page renders Korean content even when English is selected from the footer language selector. ## Steps to reproduce 1. Open https://opencode.ai/docs/rules/ 2. Confirm the page content is Korean 3. In the footer language selector, choose English 4. Observe redirect to https://opencode.ai/docs/rules/ ## Actual The URL remains /docs/rules/ and content is still Korean. ## Expected Selecting English should render the English docs page/content for rules. ## Notes Likely locale resolution/path handling issue when switching from a localized route back to the canonical docs path.
yindo added the docs label 2026-02-16 18:12:23 -05:00
yindo closed this issue 2026-02-16 18:12:23 -05:00
Author
Owner

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

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

  • #13744: Docs Language is not changing from the default (French to English on /docs/providers/)
  • #13606: More comprehensive report mentioning this affects all non-English locales, not just Korean

#13606 appears to be the main tracking issue for this locale switching bug and notes it's a follow-up to the broader #13108.

@github-actions[bot] commented on GitHub (Feb 15, 2026): This issue might be a duplicate of existing issues. Please check: - #13744: Docs Language is not changing from the default (French to English on /docs/providers/) - #13606: More comprehensive report mentioning this affects all non-English locales, not just Korean #13606 appears to be the main tracking issue for this locale switching bug and notes it's a follow-up to the broader #13108.
Author
Owner

@scarf005 commented on GitHub (Feb 15, 2026):

Closing as duplicate of #13606 (primary tracking issue) and #13744 (same docs language-switch persistence behavior).

@scarf005 commented on GitHub (Feb 15, 2026): Closing as duplicate of #13606 (primary tracking issue) and #13744 (same docs language-switch persistence behavior).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9411