Closed Bug 359044 Opened 20 years ago Closed 19 years ago

No "human" name for some country/language codes ("eo-eo", "hr", "is-is", etc.)

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 362471

People

(Reporter: eiriarte, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.1) Gecko/20061010 Firefox/2.0 In the page: https://addons.mozilla.org/firefox/dictionaries/ some dictionaries are not listed by the name of the language, but by the country/language code. For example: the Esperanto dictionary appears as "eo-eo", but should appear as "Esperanto". Reproducible: Always Steps to Reproduce: 1. Enter https://addons.mozilla.org/firefox/dictionaries/ 2. That's all :) Actual Results: The list of dictionaries shows as follow (excerpt): [...] English English Install (242 KB) eo-eo eo-eo Install (89 KB) Spanish (Latin American) Español (de América) Install (195 KB) Spanish (Spain) Español (de España) Install (290 KB) French Français (fr) Install (306 KB) French Français (fr-fr) Install (319 KB) Irish Gaeilge Install (287 KB) Hebrew עברית (he) Install (802 KB) hr hr Install (724 KB) Hungarian Magyar (hu) Install (494 KB) [...] Expected Results: Should be: [...] English English Install (242 KB) Esperanto Esperanto Install (89 KB) Spanish (Latin American) Español (de América) Install (195 KB) Spanish (Spain) Español (de España) Install (290 KB) French Français (fr) Install (306 KB) French Français (fr-fr) Install (319 KB) Irish Gaeilge Install (287 KB) Hebrew עברית (he) Install (802 KB) Croatian Hrvatski Install (724 KB) Hungarian Magyar (hu) Install (494 KB) [...]
We currently take the set of language/region code names from the download.js on mozilla.com, and I think that's what we want to keep doing. (Really, the point of that site was originally to provide dictionaries for locales we ship but can't distribute the dictionary for, though I'm happy for it to be useful for others as well.) I'm going to punt this over to the mozilla.com category to get them to either add the language data in question or WONTFIX it.
Status: UNCONFIRMED → NEW
Component: Public Pages → www.mozilla.com
Ever confirmed: true
Product: addons.mozilla.org → Websites
QA Contact: web-ui → www-mozilla-com
Summary: Some dictionaries are listed by country/language code ("eo-eo", "hr", "is-is", etc.) → No "human" name for some country/language codes ("eo-eo", "hr", "is-is", etc.)
I disagree, I think we (AMO) should have our own version of this JS with considerably more languages/regions in it.
As an afterthought: In Remora we're going to want those language names in more than just English. I'd want to display the language name in the language the user is browsing in, and the language the dictionary is in.
That Remora afterthought has been elaborated on a bit in the wiki already, I believe; please put your thoughts on it in there, hopefully along with where you think we should get the data from! I don't want to be in the business of maintaining a language list for v2, which is why I put this in the www.mozilla.com component.
If you're looking for web-printable names, there is a pretty good list here: http://svn.mozilla.org/projects/mozilla.com/trunk/includes/langconfig.inc.php morgamic and I talked briefly about using an SVN external for our language reference so we could keep all this in one place. Maybe that's something we want to talk about more.
That looks like the same list as in download.js, to my casual glance.
Perhaps you may consider using something like this: http://svn.debian.org/wsvn/pkg-isocodes/trunk/iso-codes/iso_639/
Duping forwards since we made some progress on that bug. *** This bug has been marked as a duplicate of 362471 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.