[GH-ISSUE #8448] add Auto Direction Detection #15130

Closed
opened 2026-04-19 21:25:48 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @sajjad000 on GitHub (Jan 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8448

Please add Auto Direction Detection

To improve the display of texts for the Arabic language, please make the interface automatically detect the language
If the text is in Arabic, make it RTL and if English, make it LTR automatically

This is an example of a video I made to illustrate the idea.
I made a script for the chat.qwenlm.ai site built on openwebui To improve the site for RTL:

https://github.com/user-attachments/assets/e2f0f203-f11d-4b36-9d8c-6a9e176a78c6

And this is the script file in the video to get an idea of it:
Auto dir.txt

Originally created by @sajjad000 on GitHub (Jan 10, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8448 Please add Auto Direction Detection To improve the display of texts for the Arabic language, please make the interface automatically detect the language If the text is in Arabic, make it RTL and if English, make it LTR automatically This is an example of a video I made to illustrate the idea. I made a script for the chat.qwenlm.ai site built on openwebui To improve the site for RTL: https://github.com/user-attachments/assets/e2f0f203-f11d-4b36-9d8c-6a9e176a78c6 And this is the script file in the video to get an idea of it: [Auto dir.txt](https://github.com/user-attachments/files/18370996/Auto.dir.txt)
GiteaMirror added the enhancementgood first issuehelp wanted labels 2026-04-19 21:25:48 -05:00
Author
Owner

@ttv20 commented on GitHub (Feb 17, 2025):

just add unicode-bidi: plaintext; to the text field css, it will solve the problem
It must be on the tag that contain the text and not is parents
Before:
Image
After:
Image

<!-- gh-comment-id:2662531992 --> @ttv20 commented on GitHub (Feb 17, 2025): just add `unicode-bidi: plaintext;` to the text field css, it will solve the problem It must be on the tag that contain the text and not is parents Before: ![Image](https://github.com/user-attachments/assets/95a27de3-aeb9-4aed-8502-4bcf5e187ac3) After: ![Image](https://github.com/user-attachments/assets/8a3317d8-cf2f-4717-8bdc-9baebcede101)
Author
Owner

@ttv20 commented on GitHub (Feb 17, 2025):

https://github.com/open-webui/open-webui/pull/10206

<!-- gh-comment-id:2664026236 --> @ttv20 commented on GitHub (Feb 17, 2025): https://github.com/open-webui/open-webui/pull/10206
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15130