intl.l10n.pseudo = bidi doesn't bidi-ify all of the UI text
Categories
(Core :: Internationalization, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: zbraniecki)
References
Details
Attachments
(5 files)
Please see the screenshot, note how the text in the title of the active tab, new tab suggestions, or the Firefox menu appears normally.
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
Three different modes that should create right-to-left experience.
The reference one is ar locale which represents the experience of using an Arabic locale (via langpack).
The two "pseudo" modes are intl.uidirection and intl.l10n.pseudo=bidi.
intl.uidirection seems to match the ar locale quite closely!
intl.l10n.pseudo differs in several areas:
- The arrows in the hamburger menu are in the wrong direction
- The urlbar placeholder is aligned to left instead of right
- The back/forward arrows in the urlbar are in the wrong direction
- Reload button is reversed
- The sidebar icons is reversed
I think that's all? If you see any other differences, please list them.
I believe the source of the diff is in two files that observe intl.uidirection but not intl.l10n.pseudo:
- https://searchfox.org/mozilla-central/source/dom/base/UIDirectionManager.cpp#51
- https://searchfox.org/mozilla-central/source/chrome/nsChromeRegistry.cpp#382
Let's fix that!
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
Here's the same screenshot as the original one from Ehsan, but with the patch applied.
I believe it fixes all noticed discrepancies.
| Assignee | ||
Updated•6 years ago
|
| Reporter | ||
Comment 6•6 years ago
|
||
What about some of the text not being bidi-flipped?
| Assignee | ||
Comment 7•6 years ago
|
||
Those are strings still using DTD/.properties. We're migrating them to Fluent.
| Reporter | ||
Comment 8•6 years ago
|
||
I see, thanks!
| Assignee | ||
Comment 9•6 years ago
|
||
Jonathan - ping in case your phabricator queue is not reminding you about this r? :)
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Comment 12•5 years ago
|
||
Zibi, it seems that this is still an issue?
I thought maybe this regressed since it was fixed on November 26th so I ran mozregression but I got to November 25th and I still see this being an issue.
Am I missing something?
| Assignee | ||
Comment 13•5 years ago
|
||
@Itiel - can you file a new bug with a screenshot and STR? I doubt this is the same issue. It may also be about strings that are not using Fluent yet.
| Assignee | ||
Updated•5 years ago
|
Description
•