Closed Bug 1493625 Opened 6 years ago Closed 6 years ago

Make locale RTL in bidi pseudo localization in LocaleService::IsAppLocaleRTL

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: Pike, Assigned: zbraniecki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/0640ea80fbc8d48f8b197cd363e2535c95a15eb3/intl/locale/LocaleService.cpp#417-427 governs if we lay out RTL or not. We should add a check for the pseudo l10n pref, and see if it's bidi, and return True if it is. Fly-by, we could move the GetAppLocaleAsBCP47 beneath the prefs checks.
Blocks: 1491852
Hah! Have been planning to get to this for a while. Good to have a motiation :)
Assignee: nobody → gandalf
Status: NEW → ASSIGNED
Priority: -- → P3
We also should look into obsoleting `intl.uidirection` once we get pseudo strategies to be not affecting developer's productivity.
Comment on attachment 9011548 [details] Bug 1493625 - Make LocaleService::IsAppLocaleRTL react to pseudo. r=jfkthame Francesco Lodolo [:flod] has approved the revision.
Attachment #9011548 - Flags: review+
Comment on attachment 9011548 [details] Bug 1493625 - Make LocaleService::IsAppLocaleRTL react to pseudo. r=jfkthame Jonathan Kew (:jfkthame) has approved the revision.
Attachment #9011548 - Flags: review+
Pushed by zbraniecki@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d624ee1b23d Make LocaleService::IsAppLocaleRTL react to pseudo. r=flod,jfkthame
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: