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)
www.mozilla.org
General
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
| Assignee | ||
Comment 1•19 years ago
|
||
(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
| Assignee | ||
Comment 2•19 years ago
|
||
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.
| Assignee | ||
Comment 4•19 years ago
|
||
(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
| Reporter | ||
Comment 5•19 years ago
|
||
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)
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) ...
| Assignee | ||
Comment 7•19 years ago
|
||
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
| Assignee | ||
Comment 8•19 years ago
|
||
(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
| Reporter | ||
Comment 9•19 years ago
|
||
From Eduardo Iriarte Gahete
eo-eo Esperanto Esperanto
| Reporter | ||
Comment 10•19 years ago
|
||
From Enzo Giovanni
hr Croatian Hrvatski
| Reporter | ||
Comment 11•19 years ago
|
||
*** Bug 359044 has been marked as a duplicate of this bug. ***
Comment 12•19 years ago
|
||
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').
| Assignee | ||
Comment 13•19 years ago
|
||
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.
| Reporter | ||
Comment 14•19 years ago
|
||
reed, you have the Icelandic information in the hsb line, see comment #12 for the correct info. Otherwise looks good.
| Assignee | ||
Comment 15•19 years ago
|
||
(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.
Comment 16•19 years ago
|
||
Both are correct - 'hornjoserbšćina' is a noun, and 'hornjoserbsce' is an adverb. In this context, the adverb form should be used.
Comment 17•19 years ago
|
||
I came here through bug 359044, since the mozilla.org page listing dictionaries still has "eo-eo" in it. Please fix.
Comment 18•18 years ago
|
||
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?
| Assignee | ||
Comment 19•18 years ago
|
||
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
Updated•14 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
Updated•14 years ago
|
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.
Description
•