Wrong format for RTL languages
See original GitHub issueI have use case where app supports RTL languages and I’m trying to format the message when system language is set to e.g. Arabic.
This is the message format:
"{gender, select, female{{personName} تفاعلت مع رسالتك.} male{{personName} تفاعل مع رسالتك.} other{{personName} تفاعل مع رسالتك.}}"
Wherever I set the personName
variable (before or after Arabic text) it’s always displayed at the beginning, which is wrong.
Although, if I set the variable in the middle of the string it’s displayed properly.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Wrong numbers direction in RTL languages - Manager Forum
Wrong numbers direction in RTL languages ... As a quick workaround, change your number format to something that is not using space as...
Read more >Incorrect price symbol placement for RTL languages - Drupal
Hi, Price symbol for RTL languages must be after price, but currently its before. ... To format the Iranian currency like this one...
Read more >Right-to-left language support and bidirectional text
A great example of right-to-left language support: Microsoft Word ... To support Arabic and Hebrew, both of which are RTL languages, ...
Read more >wrong time format in different windows for rtl languages
I have a .NET 2015 C# application that runs fine on Windows 8. I run it on Windows 7 and the date time...
Read more >Wrong font preview for RTL languages - Illustrator UserVoice
Wrong font preview for RTL languages ... we show the default sample preview (that's why you get first five glyphs for those fonts)....
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 Free
Top 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
personName
was in LTR format but I didn’t test it with RTL names to see if that would fix the problem.Didn’t notice that option. When I set it to
true
it works as expected. Thank you for the response.