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

[whatwg] Client side value for language preference

From: Mark Callow <callow_mark@hicorp.co.jp>
Date: Wed, 04 Apr 2012 13:05:29 +0900
Message-ID: <4F7BC889.7030409@hicorp.co.jp>

On 02/04/2012 09:45, Steve Axthelm wrote:
> On 2012-03-30 Henri Sivonen <hsivonen at iki.fi> wrote:
>> 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?
> Don't know about significantly, but I recently used the HTTP headers
> for a group of support pages that had many localizations and would
> have really liked to have been able to handle the entire logic for
> that on the front-end.
I would love it, if more sites would use these headers. As someone else
pointed out, some web servers make it very easy. I would support an
equivalent client-side query.

The current favourite algorithm among servers seems to be to serve a
language based on their perception of your current location. There are
so many reasons why this causes them to serve the wrong language, it is
beyond my understanding why so many sites do it. As a native English
speaker living in Japan, I suffer from it every day. The HTTP headers
provide a much better mechanism.


Received on Tuesday, 3 April 2012 21:05:29 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:41 UTC