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

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 UTC