[FEATURE]: Support for RTL languages #3929

Open
opened 2026-02-16 17:41:58 -05:00 by yindo · 2 comments
Owner

Originally created by @tsah on GitHub (Dec 28, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When typing an RTL (right to left) language (such as Arabic) in the input field, or when agent replies in RTL language, the text is styled as LTR, and the characters are reversed.

Suggested solution: if the first character is detected to be from RTL language, switch to RTL styling for the message/input box

Image

(the answer in the image should have been مرحبا)

Originally created by @tsah on GitHub (Dec 28, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request When typing an RTL (right to left) language (such as Arabic) in the input field, or when agent replies in RTL language, the text is styled as LTR, and the characters are reversed. Suggested solution: if the first character is detected to be from RTL language, switch to RTL styling for the message/input box <img width="583" height="414" alt="Image" src="https://github.com/user-attachments/assets/ad878870-b28b-4a15-88fb-6fb39a44a8a7" /> (the answer in the image should have been مرحبا)
yindo added the discussion label 2026-02-16 17:41:58 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 28, 2025):

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

  • #5833: Internationalization (i18n) support for Traditional Chinese - related internationalization work
  • #3404: opentui: Unable to input Chinese characters - related character input issues
  • #2920: TUI editor hides some double-byte characters in the input field - related multi-byte character display issues

While these are related internationalization efforts, they address different aspects (input capability, character visibility) rather than text directionality. If this is specifically about RTL text direction handling (not just character support), it appears to be a unique feature request.

Feel free to ignore if these don't address your specific RTL styling requirement.

@github-actions[bot] commented on GitHub (Dec 28, 2025): This issue might be a duplicate of existing issues. Please check: - #5833: Internationalization (i18n) support for Traditional Chinese - related internationalization work - #3404: opentui: Unable to input Chinese characters - related character input issues - #2920: TUI editor hides some double-byte characters in the input field - related multi-byte character display issues While these are related internationalization efforts, they address different aspects (input capability, character visibility) rather than text directionality. If this is specifically about RTL text direction handling (not just character support), it appears to be a unique feature request. Feel free to ignore if these don't address your specific RTL styling requirement.
Author
Owner

@glorious73 commented on GitHub (Jan 13, 2026):

Would be great to have this feature. It is the only thing separating my non-english speaking coworkers from using this great tool.

@glorious73 commented on GitHub (Jan 13, 2026): Would be great to have this feature. It is the only thing separating my non-english speaking coworkers from using this great tool.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3929