Closed Bug 426964 Opened 16 years ago Closed 16 years ago

add new Indic langGroups to Camino's prefs

Categories

(Camino Graveyard :: Preferences, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: alqahira)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 378105 added langGroups for Oriya, Kannada, Sinhala, and Telugu, so we need to add them to prefs, too.  (Default fonts for Kannada and Telugu coming soon in bug 426957.)
Attached patch Patch (obsolete) — Splinter Review
To verify this patch works, you should see Oriya, Telugu, Kannada, and Sinhala in the pop-up of langGroups in the Appearance pane's Font tab.
Attachment #313770 - Flags: review?(Jeff.Dlouhy)
We now have this increasingly-long list of languages in increasingly-random order,  and I'm wondering if now might not be the time to (re-)region-group, roughly and broadly from west to east:

(Western and European)

Western
Central European
Baltic
Cyrillic
Greek
Unified Canadian Syllabary

(Middle Eastern and African)

Turkish
Hebrew
Arabic
Armenian
Georgian
Ethiopic

(South and Southeast Asian)

Devanagari
Tamil
Bengali
Gujarati
Gurmukhi
Malayalam
Oriya
Telugu
Kannada
Sinhala
Thai
Khmer

(East Asian)

Korean
Traditional Chinese (Taiwan)
Traditional Chinese (Hong Kong)
Simplified Chinese
Japanese

(Other)

Unicode
User-Defined

It would still be a single, undivided list, but instead of the "random" order of today (roughly west to east in the original languages, the others in the order they were added, UCAS, and the original Unicode and user-defined), it'd be west to east (except UCAS, which otherwise would be first), Unicode, user-defined.  Better ordered, I think.

The problem is that we want, in an English Camino, Western always to be first (and/or the default selection), which breaks any sort of otherwise sane-and-equitable ordering.  The other option would be do strict geographical and have some code get your Camino locale and make the pop-up show the "most appropriate" langGroup (though we'd have to do yet more mapping, now of locales to langGroups)....
Comment on attachment 313770 [details] [diff] [review]
Patch

Does what is expected.

r=jeff
Attachment #313770 - Flags: review?(Jeff.Dlouhy) → review+
Stuart, do you have an opinion on comment 2?  

Can we perhaps add some code to make that pop-up behave like the "Add bookmark folder" pop-up, and then we could alphabetize the langGroups list (at least in English).
I'm fine with re-ordering, but do we want to consider using submenus? The list is getting awfully long.
How would you use a sub-menu in a pop-up menu?
Sorry, somehow I was convinced we were talking about the text encoding menu.

That ordering seems fine, but if we do want real grouping we could do a <select> group style menu (with disabled items for labels).
This does the geographic re-ordering described in comment 2 (with some fixes within the regions, since that list was a very quick c/p job that just focused on defining the regions) plus a comment in the .strings file.  (AppleGlot seems OK with the multi-line comment.)

I filed bug 430316 on adding the region 'names' and making "Western" always selected/moving Canadian Syllabics to the proper place geographically.
Attachment #313770 - Attachment is obsolete: true
Attachment #317066 - Flags: superreview?(stuart.morgan)
With regional ordering, Korean should be in between Japanese and Chinese.
From West to East
* Chinese (x3)
* Korean
* Japanese
Oops.  I don't know what I was thinking there :(
Comment on attachment 317066 [details] [diff] [review]
v2, with regional ordering and a comment

sr=smorgan (with comment 9 addressed)
Attachment #317066 - Flags: superreview?(stuart.morgan) → superreview+
Landed on the trunk, with less boneheadedness.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: