Closed Bug 958577 Opened 11 years ago Closed 11 years ago

Add Uyghur to the list of RTL languages

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: Pike, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

Per http://en.wikipedia.org/wiki/Uyghur_language, we should add ug to our list of RTL languages. Last time we did this was in bug 680255, for Urdu. We have a localization effort in bug 571746, so setting up the dependency.
Always happy to help add a new RTL language. :-)
Assignee: nobody → ehsan
Attached patch Patch (v1)Splinter Review
Attachment #8358655 - Flags: review?(smontagu)
Product: Firefox → Core
Comment on attachment 8358655 [details] [diff] [review] Patch (v1) Review of attachment 8358655 [details] [diff] [review]: ----------------------------------------------------------------- Hmm. I initially r-'ed this and wrote: You also need to change the list of locales in IsBidiEnabled http://mxr.mozilla.org/mozilla-central/source/browser/base/content/utilityOverlay.js#421. Extra credit for using intl.uidirection there if possible so we only have one hardcoded list to change next time! ... but on a second look I realise that IsBidiEnabled uses the system locale rather than the l10n locale. We should probably make it return true if *any* of the following is true: system locale is RTL; intl.uidirection is RTL; bidi.browser.UI is true. That can be a separate bug though.
Attachment #8358655 - Flags: review?(smontagu) → review+
Filed bug 958985 as a follow-up for isBidiEnabled().
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Depends on: 996960
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: