[whatwg] internationalization/localization

Matthew Thomas mpt at myrealbox.com
Thu Jul 8 16:31:02 PDT 2004


On 9 Jul, 2004, at 7:34 AM, Dean Edwards wrote:
> ...
> fantasai wrote:
>> That should already be taken care of by the UA's date picking widget. 
>> See the note in Section 2.1: 
>> http://www.whatwg.org/specs/web-forms/current-work/#extensions0
> ...
> ok not the best example as a date picker will quite likely do this by 
> default. a better example is the formatting of numbers/currencies.
>
> a user enters this in a number field:
>  ---------------
> |500000         |
>  ---------------
>
> after tabbing out the number gets formatted like this for a french 
> user:
>  ---------------
> |500.000,00     |
>  ---------------
>
> it gets formatted like this for a UK user:
>  ---------------
> |500,000.00     |
>  ---------------
> ...

That, too, should already be handled by the UA's number control, using 
the OS's locale settings. The only point in allowing authors to 
override the user's locale settings would be to provide future tragic 
stories for the Risks Digest.

-- 
Matthew Thomas
http://mpt.net.nz/




More information about the whatwg mailing list