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 display of rtl country names

See original GitHub issue

Hi! Currently, rtl names (arabic) diplays wrong like this: http://i.imgur.com/t1WwbW4.png It could be fixed with <bdi> tag, for example like this:

<span class="country-name">Pakistan (<bdi>پاکستان</bdi>)</span>

As a result it will be diplayed correctly: http://i.imgur.com/1rwoQSV.png

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aleksandrpanteleymonovcommented, Nov 24, 2014

This issue was css/html-specific. On some pages I didn’t have such issue, but on others I had it. It was fixed with some css:

.country-list .country-name {
    unicode-bidi: embed;
}

But I’m not sure that this fix should be added to plugin’s css. Actually, I didn’t find the root of the issue.

0reactions
khanhvuNOIScommented, Jan 29, 2015

https://www.shanab.moda/ar/login please take a look on my website sir. I just use your plugin but there’s issue with display right to left. Can you help me to resolve it. Also i have problem when make flag bigger. My client need bigger so that old man can use website

Read more comments on GitHub >

github_iconTop Results From Across the Web

Latin places with () wrong on RTL pages - webtrees - webtrees
This will include the opportunity to translate place names. Thus my own country will appear as "England" on English pages, and "Angleterre" on...
Read more >
Right-to-left language support and bidirectional text
This article discusses the issue of bidirectional text and how it's handled.
Read more >
Right-to-Left (RTL) Localization: What You Need To Know
As the name implies, RTL languages such as Arabic and Hebrew read from right to left rather than left to right (e.g., in...
Read more >
HTML Direction rtl issue - arabic - Stack Overflow
The code is: <html dir="rtl">. Updated answer using CSS: Try this: <span style="direction:rtl;">Arabic Text</span>.
Read more >
Country/Region (Territory) Names - Unicode CLDR
EU Names · They are incomplete, not including continental regions, the EU itself, ZZ (Unknown region), and some dozen others. · They have...
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