W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2016

Re: [whatwg] Should navigator.language and and/or HTTP Accept-Language include locale?

From: Михаил Гаврилов <mikhail.v.gavrilov@gmail.com>
Date: Wed, 25 May 2016 10:32:32 +0500
Message-ID: <CABXGCsMLfp0Ay9BjoyTSrn76aX=fYZ3M6Q146YRWMr=p+c4akw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>, WHAT Working Group <whatwg@whatwg.org>, Geoffrey Garen <ggaren@apple.com>, Phil Pizlo <fpizlo@apple.com>, Alexey Proskuryakov <ap@apple.com>
I propose to standardize locale settings (datetime,  number
delimeters) can be specified only by user via the operating system
settings. Sites should not change the locale that the user has chosen
for himself.

--
Best Regards,
Mike Gavrilov.


2016-05-25 10:15 GMT+05:00 Anne van Kesteren <annevk@annevk.nl>:
> On Wed, May 25, 2016 at 4:50 AM, Geoffrey Garen <ggaren@apple.com> wrote:
>> My claim is that if you want English language with Russian regional settings then browsers must report “en-ru” in navigator.language.
>
> That doesn't work. What if you want British English and the Russian
> locale? Or Canadian French with the US locale? A language tag already
> uses that syntax to mean something else. You can't just repurpose it
> to indicate locale.
>
>
> --
> https://annevankesteren.nl/
Received on Wednesday, 25 May 2016 05:33:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:38 UTC