[Bug 17859] Mechanism to enable localisation of form controls and other locale-specific data

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17859

--- Comment #23 from Cameron Jones <cmhjones@gmail.com> ---
(In reply to Ian 'Hixie' Hickson from comment #20)
> Say you have a page that says:
> 
>    <body lang="en-US">
>      <p>Enter your date: <input type=date></p>
>    </body>
> 
> ...and you view it today in a UK setting. You'll geta UK widget. If we
> change the widget based on the lang="" attribute, the page will change
> behaviour, in a way that the author never expected nor tested for. Given the
> prevalence of copy-paste authoring, it's extremely likely that there'll be
> many pages with this kind of thing going on. It's bad form to take something
> that previously had no effect, and make it have an effect of changing the
> user's interface.
> 

The problem is that UAs have bypassed the document langauge settings and
enforced the application of the user's preferred locale.

What is needed is a way to restore the document @lang definition by disabling
the user locale override and re-instating document priority.

There are a couple of options on how this could be implemented, perhaps as a
new html @localized attribute, or perhaps a meta extension?

As additions to html, this would avoid impacting any existing documents.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 23 July 2014 16:09:50 UTC