Closed Bug 362471 Opened 19 years ago Closed 18 years ago

Include dictionary locales in download.js when no full l10n exists

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 425341

People

(Reporter: nthomas, Assigned: reed)

References

()

Details

Attachments

(1 obsolete file)

We need to add: eo-eo Esperanta Vortaro https://addons.mozilla.org/firefox/3684/ hr Croatian https://addons.mozilla.org/firefox/3627/ hsb Upper Sorbian https://addons.mozilla.org/firefox/3956/ is Icelandic https://addons.mozilla.org/firefox/3643/ lv-lv Latvian https://addons.mozilla.org/firefox/3786/ Danish (https://addons.mozilla.org/firefox/3596/) is a special case. They used danish instead of da in the Add-ons db, and apparently changing this breaks updates for existing users (nearly 20000 downloads). Could we have a special dict only entry for "danish" and a explanatory comment ? Ragnar Skúlason of the Icelandic dict says that we should have is Icelandic \u00CDslenska
(In reply to comment #0) > We need to add: > eo-eo Esperanta Vortaro https://addons.mozilla.org/firefox/3684/ > hr Croatian https://addons.mozilla.org/firefox/3627/ > hsb Upper Sorbian https://addons.mozilla.org/firefox/3956/ > is Icelandic https://addons.mozilla.org/firefox/3643/ > (is -- Icelandic -- \u00CDslenska) > lv-lv Latvian https://addons.mozilla.org/firefox/3786/ I don't have a problem adding these. pkim: Any problems with me adding these to download.js? They won't show up on the download pages, but will be in the file for use by us later and by AMO now. > Danish (https://addons.mozilla.org/firefox/3596/) is a special case. They used > danish instead of da in the Add-ons db, and apparently changing this breaks > updates for existing users (nearly 20000 downloads). Could we have a special > dict only entry for "danish" and a explanatory comment ? Bah, if it's a special case, maybe that could be AMO only? What might be easiest is to just add an exception in the AMO code that aliases "danish" to "da". I'll think about it some and talk to shaver.
Assignee: nobody → reed
shaver: Would it be possible to alias "da" to "danish" (to match the extension with danish@dictionaries.addons.mozilla.org as the em:id) in mozilla/webtools/addons/public/tpl/dictionaries.tpl or mozilla/webtools/addons/public/htdocs/js/dictionaries.js (which ever turns out to work better)? This would be a one-time, hardcoded alias, but it would save the need to have two locales in download.js, which I believe would just add to the confusion.
> pkim: Any problems with me adding these to download.js? They won't show up on > the download pages, but will be in the file for use by us later and by AMO now. No problem here, as long this doesn't break download.js -- let's make sure to test download behavior on stage prior to committing live.
(In reply to comment #0) > We need to add: > eo-eo Esperanta Vortaro https://addons.mozilla.org/firefox/3684/ > hr Croatian https://addons.mozilla.org/firefox/3627/ > hsb Upper Sorbian https://addons.mozilla.org/firefox/3956/ > lv-lv Latvian https://addons.mozilla.org/firefox/3786/ Ok, I'll need the local names for these languages before I can add them.
Status: NEW → ASSIGNED
I've emailed the authors of the 4 dicts in comment #4, asking for english and local names. Raivis Dejus replied with lv-lv Latvian Latvie\u0161u I think we could also do something for the multiple German and English versions. eg English (Canadian), English (Australian)
Attached patch Scrappy part-done patch (obsolete) — — Splinter Review
This is what I'm looking at just from playing... It works for the AMO side of things: https://update-staging.mozilla.org/~cameron/addons/firefox/dictionaries/ but I don't have a mozilla.com test installation to test out what it will do if we try to create js bits in there where both the Fx and Tb version is null... A few thoughts: While we're here we should probably add all the languages from http://www.mozilla.com/thunderbird/dictionaries.html (and possibly http://wiki.services.openoffice.org/wiki/Dictionaries) since it would be good if we could have all of them available on AMO eventually and we don't really want to have to go through this process again. What's with the bits in brackets.. is it the name of the country, or the adjective describing the language? Eg. we have English (British) but we also have Spanish (Spain) ... The adjective is nicer, but it's ugly where the country and language are the same.. eg. Spanish (Spanish) or German (German) ... I suppose we can use the adjective where it's "nice" and then the country where it's not.. So German (Austrian) and German (Germany) and English (New Zealand) ...
Comment on attachment 247219 [details] [diff] [review] Scrappy part-done patch Wrong repo, Cameron. We're hosted in Subversion now. :)
Attachment #247219 - Attachment is obsolete: true
(In reply to comment #7) > Wrong repo, Cameron. We're hosted in Subversion now. :) http://svn.mozilla.org/projects/mozilla.com/trunk/js/download.js
From Eduardo Iriarte Gahete eo-eo Esperanto Esperanto
From Enzo Giovanni hr Croatian Hrvatski
*** Bug 359044 has been marked as a duplicate of this bug. ***
hsb Upper Sorbian Hornjoserbsce By the way, 'eo-eo' is evil, since there is no territory with ISO 3166 code 'EO'. It should probably be aliased to 'eo' (similarly to 'danish', aliased to 'da').
Done in revision 1258 of js/download.js on trunk. This should go live tomorrow. Leaving open to remind me to synch these changes to www.mozilla.org/download.js.
reed, you have the Icelandic information in the hsb line, see comment #12 for the correct info. Otherwise looks good.
(In reply to comment #14) > reed, you have the Icelandic information in the hsb line, see comment #12 for > the correct info. Otherwise looks good. I pulled hsb from the file until I can get a proper localName for it. http://en.wikipedia.org/wiki/Upper_Sorbian says hornjoserbšćina.
Both are correct - 'hornjoserbšćina' is a noun, and 'hornjoserbsce' is an adverb. In this context, the adverb form should be used.
I came here through bug 359044, since the mozilla.org page listing dictionaries still has "eo-eo" in it. Please fix.
This bug has seen no maintainer activity for the last year, despite the fact that the fix is trivial. Would someone please be so kind to take a look at it?
Bug 425341 can pick this up, as I bet a lot of these are already handled.
Status: ASSIGNED → RESOLVED
Closed: 18 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.

Attachment

General

Creator:
Created:
Updated:
Size: