Closed
Bug 535422
Opened 15 years ago
Closed 12 years ago
Language code 'dsb' not recognised by spellchecker language selector
Categories
(Core :: Internationalization, defect)
Core
Internationalization
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: derbeth.fora, Assigned: GPHemsley)
References
(Depends on 1 open bug)
Details
(Whiteboard: [bcp47])
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Opera/9.64 (Windows NT 5.1; U; de) Presto/2.1.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
There are two add-ons:
https://addons.mozilla.org/de/firefox/addon/3956
https://addons.mozilla.org/de/firefox/addon/13201
If I install the first, dictionary files 'hsb.dic' and 'hsb.aff' are used. If I install the second, dictionary files 'dsb.dic' and 'dsb.aff' are used. When I right-click on a text field and select language for the spellchecker, I have on my list localized 'Upper Sorbian' (for 'hsb') and 'dsb' (for 'dsb').
Reproducible: Always
Steps to Reproduce:
1. Download and install the add-on https://addons.mozilla.org/de/firefox/addon/13201
2. Visit some page with multi-line text field
3. Right click on the text field and try to choose a language
Actual Results:
'dsb' for Lower Sorbian language
Expected Results:
Since both 'dsb' and 'hsb' are valid ISO-639-2 language codes (http://en.wikipedia.org/wiki/Lower_Sorbian_language http://en.wikipedia.org/wiki/Upper_Sorbian_language), I would expect having localized name of Lower Sorbian language displayed in spellchecker.
Comment 1•15 years ago
|
||
Reason is a missing entry in file languageNames.properties: There should be the entry "dsb=Lower Sorbian".
Comment 2•15 years ago
|
||
Attached is a patch to add this language code, and language codes of other dictionaries available in Fedora 13 which don't currently get assigned Human readable names in the Firefox spell checker list
Comment 3•15 years ago
|
||
I imagine that this should probably be assigned to the same component and assignee as similar but resolved bug 532496
Updated•15 years ago
|
Assignee: nobody → smontagu
Status: UNCONFIRMED → NEW
Component: Spelling checker → Internationalization
Ever confirmed: true
QA Contact: spelling-checker → i18n
Assignee | ||
Updated•14 years ago
|
Assignee | ||
Comment 4•12 years ago
|
||
To keep things simple, creating a patch for adding only Lower Sorbian [dsb].
Assignee: smontagu → gphemsley
Attachment #439695 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #658101 -
Flags: review?(l10n)
Attachment #658101 -
Flags: review?(jfkthame)
Updated•12 years ago
|
Attachment #658101 -
Flags: review?(l10n) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #658101 -
Flags: review?(jfkthame) → review?(smontagu)
Comment 5•12 years ago
|
||
Comment on attachment 658101 [details] [diff] [review]
Add support for Lower Sorbian [dsb]
Review of attachment 658101 [details] [diff] [review]:
-----------------------------------------------------------------
Need to patch langGroups.properties also
Comment 6•12 years ago
|
||
(In reply to Simon Montagu from comment #5)
> Comment on attachment 658101 [details] [diff] [review]
> Add support for Lower Sorbian [dsb]
>
> Review of attachment 658101 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Need to patch langGroups.properties also
Fine that this bug will be fixed soon.
If you set the encoding in langGroups.properties use please "x-central-euro", not x-western.
If it is possible, change this for Upper Sorbian (hsb) as well. At present "hsb=x-western" is displayed there, should be "hsb=x-central-euro". I know that is another bug (but I think a not filed one) but it would be good if you could change this as well when you will modify this file for dsb.
Thanks,
Michael
Assignee | ||
Comment 7•12 years ago
|
||
Include langGroups (x-central-euro).
Attachment #658101 -
Attachment is obsolete: true
Attachment #658101 -
Flags: review?(smontagu)
Attachment #660886 -
Flags: review?(smontagu)
Attachment #660886 -
Flags: review?(jfkthame)
Updated•12 years ago
|
Attachment #660886 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to Michael Wolf from comment #6)
> If it is possible, change this for Upper Sorbian (hsb) as well. At present
> "hsb=x-western" is displayed there, should be "hsb=x-central-euro". I know
> that is another bug (but I think a not filed one) but it would be good if
> you could change this as well when you will modify this file for dsb.
Spun off into bug 791027.
Assignee | ||
Comment 9•12 years ago
|
||
See bug 716321 comment 14 for checkin information.
Keywords: checkin-needed
Assignee | ||
Updated•12 years ago
|
Attachment #660886 -
Flags: review?(jfkthame)
Comment 10•12 years ago
|
||
Flags: in-testsuite-
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•