mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-03-02 22:57:05 -05:00
[FEAT]: Improve RTL Support for Arabic in Model Responses #2233
Labels
No labels
Desktop
Docker
Integration Request
Integration Request
OS: Linux
OS: Mobile
OS: Windows
UI/UX
blocked
bug
bug
core-team-only
documentation
duplicate
embed-widget
enhancement
feature request
github_actions
good first issue
investigating
needs info / can't replicate
possible bug
question
stage: specifications
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/anything-llm#2233
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @nassim6321 on GitHub (Mar 9, 2025).
What would you like to see?
Description:
First of all, thank you for the amazing work on AnythingLLM! The recent addition of RTL (Right-to-Left) support is a great improvement for Arabic users. However, there is still one issue that makes reading conversations difficult:
🛑 Problem:
While user messages are correctly aligned from right to left, the model responses are still aligned from left to right. This inconsistency creates a frustrating experience for Arabic speakers, especially when a response contains both Arabic and English words. This misalignment can even make sentences unreadable in some cases.
✅ Proposed Solution:
Ensure that model responses are also aligned from right to left when RTL mode is active.
This would greatly improve the user experience for Arabic users and make the conversation more natural and readable.
🎯 Why It Matters:
Arabic is spoken by hundreds of millions of users worldwide, and proper RTL support would make AnythingLLM much more accessible to them. Many Arabic users rely on LLMs for work, learning, and research, and improving readability would enhance their productivity.
We really appreciate your efforts, and we hope you consider this small but very impactful change. Thank you again for your hard work! 😊🚀
@Saidoua commented on GitHub (Mar 11, 2025):
Done Pleese see Comit
@nassim6321 commented on GitHub (Mar 15, 2025):
In addition to the issue of Arabic alignment when the model responds, there is a problem with ignoring text formatting when entering formatted text; all spaces are removed, and the text appears as a single block. This becomes frustrating when reviewing and revisiting the conversation. Thank you for everything you do to make this possible!
By the way, I use Windows 10 Professional 64bit, and I use French as the interface language for Windows, but I use Arabic for writing and conversation.
@smartari1 commented on GitHub (Apr 7, 2025):
Hi :) Hebrew and Arabic are the same RTL-wise, and on switching to Hebrew, I still get the UI of LTR,
Can we align this experience to Arabic and Hebrew both to work on chat and on UI RTL? Thanks much
@nassim6321 commented on GitHub (Apr 7, 2025):
Use Docker to run Anythingllm will appear on Google Chrome, for example, and from there you can customize it as you want by DeVtool.
@smartari1 commented on GitHub (Apr 7, 2025):
I want to give access to my non-tech friend, how can I send it as Default RTL / Hebrew?
@Saidoua commented on GitHub (Apr 7, 2025):
This commit is not merged yet, and yes this rtl is for all rtl languages (Arabic, Hebrew, Farsi…)
@smartari1 commented on GitHub (Apr 7, 2025):
Ok great, do you know when is the next GA?
@Saidoua commented on GitHub (Apr 7, 2025):
I’m just contributor, sorry I don’t know
@moazeniz commented on GitHub (Sep 25, 2025):
Hello,
Can RTL be added as an option to the settings all together?
@timothycarambat commented on GitHub (Sep 25, 2025):
Isnt RTL a property of the language, so why would that need to be a setting? There are languages that support LTR/RTL and interchangably use both based on the reader preference?
@moazeniz commented on GitHub (Sep 26, 2025):
It is, but it also needs to be supported by the app you are suing, unless you want to add extension to handle that. When using anything llm on any device, the RTL becomes a problem without using any external tools and I can't right now simply offer people to use it. So the support for it needs to be added, if we want to be technically correct.