[BUG] app: Incorrect language name strings when using Thai language #8151

Closed
opened 2026-02-16 18:09:17 -05:00 by yindo · 1 comment
Owner

Originally created by @alexyaroshuk on GitHub (Jan 31, 2026).

Originally assigned to: @rekram1-node on GitHub.

Bug:

In packages/app/src/i18n/th.ts, the language name strings (e.g., language.en, language.zh, language.de) were translated into Thai, but they should be static (same across all localization files).

What happened?

The Thai localization file contained translated language names:

  • "language.en": "อังกฤษ" (should be "English")
  • "language.zh": "จีนตัวย่อ" (should be "简体中文")
  • "language.de": "เยอรมัน" (should be "Deutsch")
    Etc.

While all other localization files (en.ts, de.ts, ar.ts, br.ts, etc.) use static values that are consistent across languages.

OpenCode version

v1.1.48

Steps to reproduce

  1. Change language to Thai in settings
  2. Observe that all languages now are in thai

Screenshot

Image

Operating System

Windows 10

Originally created by @alexyaroshuk on GitHub (Jan 31, 2026). Originally assigned to: @rekram1-node on GitHub. ## Bug: In `packages/app/src/i18n/th.ts`, the language name strings (e.g., `language.en`, `language.zh`, `language.de`) were translated into Thai, but they should be static (same across all localization files). ### What happened? The Thai localization file contained translated language names: - `"language.en": "อังกฤษ"` (should be "English") - `"language.zh": "จีนตัวย่อ"` (should be "简体中文") - `"language.de": "เยอรมัน"` (should be "Deutsch") Etc. While all other localization files (`en.ts`, `de.ts`, `ar.ts`, `br.ts`, etc.) use static values that are consistent across languages. ### OpenCode version v1.1.48 ### Steps to reproduce 1. Change language to Thai in settings 2. Observe that all languages now are in thai ### Screenshot <img width="193" height="253" alt="Image" src="https://github.com/user-attachments/assets/1031ecf0-3483-45b4-a3f3-7fce94152e20" /> ### Operating System Windows 10
yindo added the docs label 2026-02-16 18:09:17 -05:00
yindo closed this issue 2026-02-16 18:09:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 31, 2026):

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

  • #10810: Thai language support was added as a feature, this issue appears to be a bug fix related to that implementation
  • #10838: Similar localization consistency issues found in Chinese (zh.ts) file
  • #10837: Related localization file issues with translations in non-English localization files

The pattern of language name strings needing to be static across all localization files is similar to the consistency issues found in #10838 and #10837.

Feel free to ignore if this is specific to a different aspect.

@github-actions[bot] commented on GitHub (Jan 31, 2026): This issue might be a duplicate of existing issues. Please check: - #10810: Thai language support was added as a feature, this issue appears to be a bug fix related to that implementation - #10838: Similar localization consistency issues found in Chinese (zh.ts) file - #10837: Related localization file issues with translations in non-English localization files The pattern of language name strings needing to be static across all localization files is similar to the consistency issues found in #10838 and #10837. Feel free to ignore if this is specific to a different aspect.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8151