mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #8448] add Auto Direction Detection #15130
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@ttv20 commented on GitHub (Feb 17, 2025):
just add


unicode-bidi: plaintext;to the text field css, it will solve the problemIt must be on the tag that contain the text and not is parents
Before:
After:
@ttv20 commented on GitHub (Feb 17, 2025):
https://github.com/open-webui/open-webui/pull/10206