W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2012

[whatwg] Client side value for language preference

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 30 Mar 2012 16:11:15 +0300
Message-ID: <CAJQvAueFt-vrLqOJv9hJK1dxZufi4z_sKeEZwci0=aZsNuN68g@mail.gmail.com>
On Thu, Mar 29, 2012 at 10:02 PM, Matthew Nuzum <newz at bearfruit.org> wrote:
> Some browsers have gotten smarter and now send the first value from
> the user's language preference, which is definitely an improvement. I
> suspect this was done in order to preserve backwards compatibility, so
> much of the useful information is left out.
> navigator.language.preference =?[{lang:'en-gb', weight: 0.7},{lang:
> 'en-us', weight: 0.7},{lang:'en', weight: 0.3}];

Is there a reason to believe that this client-side solution would be
used significantly considering that the HTTP header has not been used
that much?

Henri Sivonen
hsivonen at iki.fi
Received on Friday, 30 March 2012 06:11:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:11 UTC