From: FAQ server on
-----------------------------------------------------------------------
FAQ Topic - Internationalisation and Localisation in javascript
-----------------------------------------------------------------------

Internationalisationmeans using one form which is everywhere both
acceptable and understood. Any international standard not supported by
default can be coded for.

For example, there is an International Standard for numeric Gregorian
date format; but none for decimal and thousands separators.Localisationis the process of adapting software for a specific region
or language by adding locale-specific components and translating text. It
cannot work well in general, because it requires a knowledge of all
preferences and the ability to choose the right one, in an environment
where many systems are inappropriately set anyway.

ECMAScript has a fewlocalisationfeatures. The various
`toString()`methods are all implementation dependent,
but tend to use either UK or US settings (not necessarily correctly).
ECMAScript Ed. 3 introduced some capabilities, including the
`toLocaleString()`method which should create a string
based on the host's locale.

ECMAScript 5th Edition introduces limited ISO 8601 capabilities with
`Date.prototype.toISOString()`and new behavior for `Date.parse()`.


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

From: Dr J R Stockton on
In comp.lang.javascript message <4c43877a$0$283$14726298(a)news.sunsite.dk
>, Sun, 18 Jul 2010 23:00:03, FAQ server <javascript(a)dotinternet.be>
posted:


>ECMAScript has a fewlocalisationfeatures. The various
^ ^ etc.
>`toString()`methods are all implementation dependent,
>but tend to use either UK or US settings (not necessarily correctly).

Which, if any, use a UK setting that differs from the US preference ?

>ECMAScript Ed. 3 introduced some capabilities, including the
>`toLocaleString()`method which should create a string
>based on the host's locale.

In practice, it gives what the browser writer thinks is appropriate for
the options, or some of them, installed with the OS or configured later.

--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (RFCs 5536/7)
Do not Mail News to me. Before a reply, quote with ">" or "> " (RFCs 5536/7)