[whatwg] Re: internationalization/localization

Peter Karlsson peter at opera.no
Wed Jun 30 03:08:24 PDT 2004


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



More information about the whatwg mailing list