W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Re: internationalization/localization

From: Peter Karlsson <peter@opera.no>
Date: Wed, 30 Jun 2004 11:08:24 +0100 (CET)
Message-ID: <Pine.LNX.4.60L.0406301103290.21624@peter.oslo.opera.com>
Pete Harlow on 2004-06-30:

[Accept-Language]
> en,fr;q=0.8,en-gb;q=0.5,fr-fr;q=0.3
> 
> which I take to mean
> 
> 'Send English if you have it, otherwise French, by the way, if you have it and
> you are sending English British English would be best, and likewise French
> French...'

You have it slightly backwards. en will include en-gb, not the
opposite, which means that your en-gb and fr-fr rules will never be
checked. http://www.debian.org/intro/cn#howtoset has a good
introduction on how to use it.

-- 
\\// Peter Karlsson, software engineer, Opera Software ASA
Received on Wednesday, 30 June 2004 03:08:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC