[GH-ISSUE #3427] [FEAT]: Set direction depending on the active locale #2209

Closed
opened 2026-02-22 18:28:40 -05:00 by yindo · 3 comments
Owner

Originally created by @Saidoua on GitHub (Mar 9, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3427

What would you like to see?

Set the document direction depending on the active locale (ltl rtl )

Originally created by @Saidoua on GitHub (Mar 9, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/3427 ### What would you like to see? Set the document direction depending on the active locale (ltl rtl )
yindo added the enhancementfeature request labels 2026-02-22 18:28:40 -05:00
yindo closed this issue 2026-02-22 18:28:40 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 10, 2025):

Moved to #3430

@timothycarambat commented on GitHub (Mar 10, 2025): Moved to #3430
Author
Owner

@nassim6321 commented on GitHub (Mar 10, 2025):

Have you tried a model that responds in Arabic? As shown in the conversation, the user's initial message is displayed correctly, from right to left. However, the model's response is formatted from left to right, which is disruptive for Arabic text.

The placement of the response (whether on the left or right side) doesn’t matter to me, but the direction of the text is essential. Arabic text should always flow from right to left for proper readability.

The attached image illustrates this issue clearly.

Image

There are two correct ways.
Note the location of the Avatar model

The first method :
Image

Or this method :
Image

This is in the case of choosing Arabic or any language similar to these excitement
Without adding these features, Arabic will not display correctly and will be ineffective in the program if the user selects a model that responds in Arabic.

@nassim6321 commented on GitHub (Mar 10, 2025): Have you tried a model that responds in Arabic? As shown in the conversation, the user's initial message is displayed correctly, from right to left. However, the model's response is formatted from left to right, which is disruptive for Arabic text. The placement of the response (whether on the left or right side) doesn’t matter to me, but the direction of the text is essential. Arabic text should always flow from right to left for proper readability. The attached image illustrates this issue clearly. ![Image](https://github.com/user-attachments/assets/929a59b2-941a-40ba-ae6a-06aa3b2b6be4) There are two correct ways. Note the location of the Avatar model The first method : ![Image](https://github.com/user-attachments/assets/00f2037a-9d83-47f2-84ae-92568591bf82) Or this method : ![Image](https://github.com/user-attachments/assets/f0c73da3-2605-4336-b14d-3d9596f153de) This is in the case of choosing Arabic or any language similar to these excitement Without adding these features, Arabic will not display correctly and will be ineffective in the program if the user selects a model that responds in Arabic.
Author
Owner

@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.

Image

@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. ![Image](https://github.com/user-attachments/assets/d354ded6-c002-40b5-8587-8b2330b7324f)
yindo changed title from [FEAT]: Set direction depending on the active locale to [GH-ISSUE #3427] [FEAT]: Set direction depending on the active locale 2026-06-05 14:45:12 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#2209