W3C home > Mailing lists > Public > public-i18n-core@w3.org > July to September 2011

I18N-ISSUE-97: Allowing a page to request a given locale [HTML5-prep]

From: Internationalization Core Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 22 Jul 2011 17:45:04 +0000
To: public-i18n-core@w3.org
Message-Id: <E1QkJma-0002qM-6k@stu.w3.org>

I18N-ISSUE-97: Allowing a page to request a given locale [HTML5-prep]

http://www.w3.org/International/track/issues/97

Raised by: Addison Phillips
On product: HTML5-prep

4.10.7.1.7 Date and Time state
http://www.w3.org/TR/html5/states-of-the-type-attribute.html#date-and-time-state

--
The format shown to the user is independent of the format used for form submission. Browsers are encouraged to use user interfaces that present dates and times according to the conventions of the user's preferred locale.
--

Should we encourage the use of the *page's* preferred locale? It would be best if we could provide a way for page authors to create a consistent user experience. Work on the ECMAScript I18N extension may eventually help here, but only for formatting displayed values---this section seems to imply that the user agent have a built-in date/time control set that may not be scriptable. Although a given user agent won't necessarily support the requested locale, I would suggest providing a <form> attribute or a field attribute to allow the page itself to request a given locale using a BCP 47 language tag.
Received on Friday, 22 July 2011 17:45:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 July 2011 17:45:05 GMT