osmcha-frontend
osmcha-frontend copied to clipboard
Add bidi support
I'm submitting a bug report/feature request
Brief Description
Contribution to OSM takes place by people from all around the world and with different languages. Among them we have people using Right-to-Left languages (such as Persian, Arabic, Urdu,...)
Projects like OSMCha should show user generated content (in text format) in proper direction regardless of the global language settings. Lack of bidirectional text support imposes the global direction on every text, making the text in different directions render in wrong order.
What is the motivation / use case for this feature?
What is the current behaviour, (attach relevant screenshots) ?
Simply copy/paste the following text. If you see "left" on left side, it means everything is good, otherwise you are seeing the issue.
راست left
What is the expected behaviour ?
Text to be rendered automatically in correct direction based on the context (the text itself)
When does this occur ?
A common case is the changeset comment.
How do we replicate the issue ?
- Just copy the text I mentioned above and paste it in place a user generated text like changeset message
Please tell us about your environment:
It is a general issue on any browser
Other Information / context:
I might be able to fix this issue if I can run the front-end locally.