You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a comment in Hebrew (or Arabic, Farsi, Kurdish, etc.) for a string the comment is aligned according to LTR regardless of the script.
The comment editing dialog showing the text aligned to the left while the visual character is aligned right.
If the entire comment starts with an RTL script (it's a problem when I'm mentioning someone) all the text is aligned right.
There used to be dir="auto" but it was removed in 29b8091 (probably unintentionally). However for me it makes no difference - it still renders as LTR when the text starts with LTR text (user mention). The only way to make it RTL is using dir="rtl".
Describe the issue
When adding a comment in Hebrew (or Arabic, Farsi, Kurdish, etc.) for a string the comment is aligned according to LTR regardless of the script.
The comment editing dialog showing the text aligned to the left while the visual character is aligned right.
If the entire comment starts with an RTL script (it's a problem when I'm mentioning someone) all the text is aligned right.
I already tried
Steps to reproduce the behavior
'@nijel שלום לך'
'שלום לכולם'
Expected behavior
Text should be aligned right when most of the text or at least the beginning is in RTL script.
Screenshots
Exception traceback
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
I truly like the way Weblate supports RTL languages, we should keep the momentum :)
The text was updated successfully, but these errors were encountered: