[openstreetmap/openstreetmap-website] Bidi support for texts of diaries and changeset discussions (#1943)

Iman notifications at github.com
Sat Jul 28 08:50:10 UTC 2018


Hi, could you please make the texts of diaries and changeset discussions bidi-aware?

There is a new `dir=auto` in HTML 5.0 that will do it when applying to each paragraph but doesn't have a wide support, but there could be some scripts to implement that, something like the way more recent versions of android behave with RTL or LTR texts.

I'm not much a programmer, but please look at [this ](http://jsfiddle.net/Hcx6H/436/) basic example. 
Also [this](https://stackoverflow.com/a/41671177/3726620) explanation may be helpful.

The following screenshots are taken while my localization settings on OSM website is set on `fa` which is a RTL language, but there is some similar issues on LTR environment.

![1](https://user-images.githubusercontent.com/8467903/43354791-a750b7d0-9267-11e8-9430-d56ac653883a.png)

another

![2](https://user-images.githubusercontent.com/8467903/43354792-a7e848ca-9267-11e8-9cec-124fc7adde40.png)

thanks

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1943
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20180728/2573f536/attachment.html>


More information about the rails-dev mailing list