FAQ Topic - Internationalisation and Multinationalisation in javascript. (2009-01-17)

F

FAQ server

-----------------------------------------------------------------------
FAQ Topic - Internationalisation and Multinationalisation in
javascript.
-----------------------------------------------------------------------

Internationalisation means 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.

Multinationalisation means using different forms for different
readers. 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.

Javascript has a few Multinationalisation features. 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.

Much more support is expected in future versions of ECMAScript.


--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top