Closed Bug 44551 Opened 24 years ago Closed 24 years ago

Norwegian Nynorsk and Bokmål not listed in 'Preferences | Languages | Add...'

Categories

(Core :: Internationalization, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: karl, Assigned: ftang)

Details

(Keywords: polish, Whiteboard: [nsbeta3+]patch in hand, need review. ETA:8/4)

In 'Preferences | Languages | Add...', there is a list of languages. In this
list 'Norwegian (Nynorsk)' (language code: 'nn') and 'Norwegian (Bokmål)' (lc:
'nb') is missing.

(Norwegian has two official written forms, Nynorsk and Bokmål. Both have an
official (i.e. ISO) two-letter language code.)

Some people prefer Nynorsk and some people prefer Bokmål. Therefore, there
should be three choices: Norwegian (lc: 'no'), Norwegian (Nynorsk) (lc: 'nn')
and Norwegian (Bokmål) (lc: 'nb').

BTW, I know of at least two large sites that will use content negotiation to
choose between Nynorsk and Bokmål.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Tao, could you look at this?
Assignee: nhotta → tao
I've actually promised Juraj that I would update this list.
Currently nb and nn are available on the master list but not
enabled. It is a simple matter of turning on these
items for the list but what we need to do is review the whole
list and settle on the final list for Beta 2.

I would like to do this as part of overall updating of 
language.properties file.

Note that there is no L10n implication for this since
language and regions names have been extracted out into
other files. 
> I've actually promised Juraj that I would update this list.
> Currently nb and nn are available on the master list but not
> enabled. It is a simple matter of turning on these
> items for the list but what we need to do is review the whole
> list and settle on the final list for Beta 2.

What's the review for? Shouldn't *all* languages listed at <URL: http://lcweb.loc.gov/standards/iso639-2/englangn.html > and the updates at <URL: http://lcweb.loc.gov/standards/iso639-2/codechanges.html > be listed?
The list itself should contain all the possible lang-region
pairs, but it is not a good idea to "turn on/display in the list" 
the languages for which we have no charset support currently. 
Because the accept-language list is sent to servers telling
them that the client can accept that language, we should not
send a LANG code which we don't support/display in the product.
> The list itself should contain all the possible lang-region
> pairs, but it is not a good idea to "turn on/display in the list"
> the languages for which we have no charset support currently.
> Because the accept-language list is sent to servers telling
> them that the client can accept that language, we should not
> send a LANG code which we don't support/display in the product.

But language and charset is completely independent. I can write an English page in pure ASCII, in UTF-8, UTF-16 or even EUC-JP (by using entity references).

Of course some languages are commonly used together with a specific charsets (e.g. EUC-JP and Japanese or iso-8859-1 and English), but they *don't have too* (and I guess more and more pages will start using UTF-8). Removing languages from the Accept-Language list serve little purpose.

Also, there *is* an Accept-Charset header <URL: http://www.freesoft.org/CIE/RFC/1945/93.htm > (though I don't know if it's deprecated).
I am sorry about the misuse of the term "charset" in my comment
above. The "support" I am talking about is a lot more than
just "charset" support. We need to be able to have proper 
rendering support, font handling, etc. to claim full
support. The fact that Unicode covers many language
in terms of encoding does not make it possible for us to say 
that we support language "X". 
As to the Accept charset support, we will not be implementing
that -- I asked publicly if anyone cared about not doing
Accept-charset in the mozilla-i18n list and noone cared enough to
answer.
OK, I understand now.
Hi, Frank:


I won't have cyclce to handle this in PR2. Please reassign to whoever owns 
Juraj's bugs.

Thanks
Assignee: tao → ftang
momoi- nb and nn is *NEW* language code added in additional to no. nb and nn is 
NOT region code here. We have not add nb and nn to the language list. Turn it as 
true won't make it work.

See http://lcweb.loc.gov/standards/iso639-2/codechanges.html for details.
To fix this bug, it mean we need to 
1. add entries to xpfe/global/resources/locale/en-US/languageNames.properties
according to http://lcweb.loc.gov/standards/iso639-2/codechanges.html 
+nb = Norwegian Bokm&#229;l
+nn = Norwegian Nynorsk

2. add entries to intl/locale/src/language.properties
+ nn.accept=true
+ nb.accept=true
forget about my comment. I am wrong. The nb and nn have already been added. We 
just need to change the nb=false and nn=false to true
Status: NEW → ASSIGNED
Frank, I'll get the review done by Thu morning, if you're willing
to check this in. (If necessary, I can get the review done by 
Wed., too).
patch in hand. need review
Keywords: nsbeta3, patch, polish
Whiteboard: patch in hand, need review.
nsbeta3 + per i18n bug meeting
Whiteboard: patch in hand, need review. → [nsbeta3+]patch in hand, need review.
Whiteboard: [nsbeta3+]patch in hand, need review. → [nsbeta3+]patch in hand, need review. ETA:8/4
Fix the spelling and turn them into true.
tao- please correct the spelling in the localized build. Thanks
mark it fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verified as fixed in 2000-09-06-08 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.