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.

The place of icons and picture is invalid on RTL languages

See original GitHub issue

User story

What did you do? 1.Goto a RTL version of MDN ste. eg: https://developer.mozilla.org/fa/

2.Look at small arrows on side of Web Technologies; Learn web development; Developer Tools

3.Look at cat that shows “Help us build better CSS debugging tools! Which CSS bugs are the worst? Take the Survey”

4-Look at location of Arrow of “Sign Up now” button

5-From Refrences and Guides menu, look at more docs

What happened? 2-Small arrows are on their related texts. 3-Cat is located on it’s related text. 4-Arrow of sign up now button is located on left side of button like LTR texts. 5-Three dots are beforer More docs menu in English text! Like: …More docs As result: localizers repeteated using … before text on ntranslation of More docs as well as english

What should have happened? 2-Arrows should be mirrored and located on left side of their related texts on RTL languages. Look at samples: LTR: Text —> Correct RTL: <— متن Invalid RTL(Current status): م–تن->

3-Cat should be located on left side of it’s related rectangle.

4-Small arrow on sign up now button should go to left side of button and txt should goto right side of button and arrow should be like <— not —>

5-…More docs in English shold be More docs… and Localizers should move three dots aftre more docs like fixed english phrase.

Is there anything else we should know? Currently, MDN main page is RTL but it’s details like buttons, content of DIV tags are not RTL.

Bugzilla - https://bugzilla.mozilla.org/show_bug.cgi?id=1539793

Acceptance criteria

  • Icons and images on the landing page display correctly for both LTR and RTL locales.

Tasks

    • Update CSS to use bidi mixin
    • Open PR
    • Marged to master

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jmswishercommented, Jul 10, 2019

I commented in the Bugzilla bug about what appears fixed, and what’s not (e.g., arrows still point to the right). Up to you whether to consider it “done enough”.

0reactions
caugnercommented, Aug 26, 2022

No longer an issue, because we no longer have any active RTL locale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The place of icons and picture is invalid on RTL languages · Issue ...
Icons and images on the landing page display correctly for both LTR and RTL locales. Tasks. Update CSS to use bidi mixin.
Read more >
T65593 VisualEditor: Some icons need to be flipped for RTL ...
In lib/ve/lib/oojs-ui/images/icons: help.svg - This is a question mark in a circle. This should be flipped for all RTL languages, but *not* for...
Read more >
Incorrect price symbol placement for RTL languages - Drupal
Hi, Price symbol for RTL languages must be after price, but currently its before. How can I fix that? Thanks.
Read more >
Right to left - Foundations - Human Interface Guidelines - Design
Images ; Interface icons; Platform considerations; Resources. Support right-to-left languages like Arabic and Hebrew by reversing your interface as needed ...
Read more >
Android NavigationView wrong icon position on RTL
I'm trying to create a drawer that works fine on both RTL and LTR language. But the default behavior in RTL lang is...
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