RTL language handled differently across interfaces
See original GitHub issueObserved behavior
Arabic channel names do not read the same depending on whether they are a content channel tile or a top level breadcrumb
Expected behavior
The titles would be handled RTL similar across each layout
User-facing consequences
Not being able to read a correct tile
Errors and logs
…
Steps to reproduce
- Visit http://australia-kolibri.mylearningpathway.org or http://jordan-kolibri.mylearningpathway.org
- Click through “Earn - Job Skills” and search for HP LIFE (arabic) folder. Observe how the title are displayed in the tile
- Click on HP LIFE folder and view how the title is displayed across the breadcrumb
- They aren’t the same
Context
Linux, Chrome
From @jonboiser
I think the issue might be because we are wrapping the text inside the tile/card inside another component (TextTruncator) that doesn’t have the language “direction” rule that we usually put in components. The breadcrumb version of the title is not wrapped up this way and should have the correct direction rule on it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Right to left - Foundations - Human Interface Guidelines - Design
Different RTL languages can use different number systems. For example, Hebrew text uses Western Arabic numerals, whereas Arabic text might use either Western...
Read more >Bidirectionality - Material Design
UIs for languages that are read from right-to-left (RTL), such as Arabic and Hebrew, should be mirrored to ensure content is easy to...
Read more >Right-to-left language support and bidirectional text
A great example of right-to-left language support: Microsoft Word; Bidirectional text; English and Arabic/Hebrew text together: ...
Read more >Interface localisation: adapting text fields for RTL languages
To start with, I'll compare several interfaces of applications that include an RTL audience and how they handle the task of inputting text....
Read more >Right-to-Left Development: Tips and Tricks - SteelKiwi
Since languages that are read from right to left, such as Arabic, Persian, Hebrew, Urdu, etc., involve making particular changes to the development...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pcenov could you reinvestigate this in 0.15 onwards?
These look like examples of where using
dir="auto"
does not result in optimal behavior, presumably because the first characters in the titles are Latin which establishes an overall LTR base direction for that block.Refs: