[webkit-dev] exposing the value of Accept-Language via window.navigation.acceptLanguage ?

Maciej Stachowiak mjs at apple.com
Wed Jul 22 20:21:44 PDT 2009


On Jul 22, 2009, at 4:41 PM, Jungshik Shin (신정식, 申政湜) wrote:

> Hi,
>
> I proposed exposing the values of the Accept-Langauge  list via
> window.navigation.acceptLanguages at
>
>      https://bugs.webkit.org/show_bug.cgi?id=27555
>
> This email is to get opinions (for and against) on that in case the
> bug is not noticed by many. As pointed out by ap in the bug, perhaps,
> we have to bring this up in the WHATWG as well. Before I do that, it
> may not be a bad idea to know what others her think about it.

This sounds like a reasonable extension. I prefer the variant that  
gives a tokenized form of Accept-Language. I think a good next step is  
to propose it on the WHATWG list or public-html, explaining the use  
cases.

Besides possible translation extensions, is this something Google  
Translate would possible use? It seems that a number Google web  
properties pick their UI language based on the likely physical  
location of your IP address(*), and many websites do likewise, so I'm  
wondering if this extension is something that would actually get used  
on the web.

Regards,
Maciej

* - Kind of off topic, but I found this incredibly frustrating  
recently when traveling in countries where I did not know the native  
language.


More information about the webkit-dev mailing list