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 17:22:11 +0300
Message-ID: <CAJQvAufMYXKrnw_WXD7ZYDHJ5CmOZQsMAps+yTapoPcu9LX7mw@mail.gmail.com>
On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzum <newz at bearfruit.org> wrote:
> For example, maybe a site can't afford translation but a small library
> could be included that formats dates and numbers based on a user's
> language preference. No more wondering if 2/3/12 is in March or in
> February.

The reader doesn't know that the site tries to be smart about dates
(but not smart enough to just use ISO dates), so scrambling the order
of date components not to match the convention of the language of the
page is probably worse than using the convention that's congruent with
the language of the page.

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

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