Define text direction according to current language.
There is a slight rendering issue for rtl text in the language selection menu. I assume that the same could happen elsewhere. Notice how the text gets inserted between the number and the "%" symbol ?
Adding dir="rtl"
to the enclosing li
item fixes the issue.
I guess we could extend .0_sources/langs.json with a "direction"
field, or even deduce the direction from the iso code if some library allows it.
Then a four lines fix in plugins/plxMyMultiLingue/plxMyMultiLingue.php adds the dir
attribute to the li
tag.
I had that in gitlab (framagit) IDE, but was unable to commit it anywhere due to permission issues. Frustrating.
Edited by Arlo James Barnes