question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong format for RTL languages

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
anteburazercommented, Dec 5, 2019

personName was in LTR format but I didn’t test it with RTL names to see if that would fix the problem.

1reaction
anteburazercommented, Dec 4, 2019

Didn’t notice that option. When I set it to true it works as expected. Thank you for the response.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found