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.

Regards

    -Mark
Received on Tuesday, 3 April 2012 21:05:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:07 GMT