UI doesn't support RTL #3177
Replies: 4 comments 7 replies
-
|
Hello, I have moved the issue to a "discussion" so that we can break down the problem into actionable parts (i.e. so we can assign actual development tasks in order to iteratively fix the broader problem). |
Beta Was this translation helpful? Give feedback.
-
|
Hello, I experimented with the "piece by piece" (piecemeal) approach to apply RTL only to carefully-chosen GUI controls, instead of globally (which unfortunately destroys the GUI layout, as previously mentioned): Side note: the I only improved the "settings" popup modal dialog, but you can already test using the automatic build of Thorium for your operating system / architecture: https://github.com/edrlab/thorium-reader/releases/ I hope that this can be a viable approach for iteratively solving the RTL problem. The tradeoff is that many changes will be required in many different places, but these changes are small snippets of code. The massive advantage is that we do not have to refactor significantly the hybrid ReactAriaComponents + Radix architecture, and the CSS stylesheets. There are pros and cons, I think we have to accept some compromise. What matters is that RTL gradually becomes a reality for Arabic users (and Hebrew, etc.). I will now post some screenshots that show the improved GUI. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
I filed this actionable issue with concrete TODOs to move forward: #3265 |
Beta Was this translation helpful? Give feedback.






Uh oh!
There was an error while loading. Please reload this page.
-
The problem is related to the UI rendering of Arabic text, not the content itself. This is related to localization strings. The interface does not properly switch to RTL layout when Arabic is used. The issue becomes more noticeable when a string contains both Arabic and English terms — the text direction gets flipped, making it harder to read. For example, if one string ends with an English term, the string will start with the English followed by the Arabic text.
Beta Was this translation helpful? Give feedback.
All reactions