[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Bug#19831: More on Bug#19831: how to set language-acceptance
From:       Gaute Hvoslef Kvalnes <gaute () verdsveven ! com>
Date:       2001-02-28 15:25:27
[Download RAW message or body]

The way language negotiation works now is less than ideal for
Norwegians. First of all, the code for Norwegian Nynorsk is the
unofficial 'no_NY', while web pages use 'nn'. If a Norwegian Nynorsk
page doesn't exist, the next best option should be to request a
Norwegian page, with code 'no'.

Similarly, Norwegian Bokmål users should first be served with the code
'nb', although the KDE code for Bokmål is 'no'. If there is no 'nb'
page, the user should get the 'no' page.

If both Norwegian Bokmål and Nynorsk followed the standards they should
(for various reasons they don't -- we should use correct codes), they
would be named 'nb' and 'nn'. Then, with Konqueror's current behaviour,
the users would never get 'no' (Norwegian) pages at all. By far, the
most widely used language code is 'no', which simply means 'Norwegian',
regardless of the Bokmål/Nynorsk variant.

Confused? Well, the only solution is to make the Accept-Language
function customizable *and* localizable. And, if it's not already
possible, make it a prioritized list.

The W3C points this out in their list of 'Common User Agent Problems':
-------
1.13

Use the user interface language as the default value for language
negotiation. 

The user should be allowed to specify the set of languages that the user
agent may use for language negotiation.

In case the user does not specify any language, the user agent may use
the language of its user interface as the value sent out. The user agent
should allow the user to override this behavior.
-------
<URL: http://www.w3.org/TR/2001/NOTE-cuap-20010206 >

Regards,
 Gaute Hvoslef Kvalnes
 Norwegian (Nynorsk) KDE: http://i18n.kde.org/teams/no_NY/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic