FAQ Topic - Internationalization and Multinationalization in javascript.

F

FAQ server

-----------------------------------------------------------------------
FAQ Topic - Internationalization and Multinationalization in
javascript.
-----------------------------------------------------------------------

Internationalization means using one form which is both
acceptable and understood everywhere. By default, javascript
has no such features; but if an international standard exists
it can be coded for.

For example, there is an international standard for numeric
Gregorian date format; but there is none for decimal and
thousands separators.

Multinationalization means using different forms for different
nations. It cannot work well in general, because it requires a
knowledge of all national 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 JavaScript.


===
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 www.pair.com.
 
D

Dr J R Stockton

In comp.lang.javascript message <[email protected].
-----------------------------------------------------------------------
FAQ Topic - Internationalization and Multinationalization in
javascript.
-----------------------------------------------------------------------

Internationalization means using one form which is both
acceptable and understood everywhere. By default, javascript
has no such features; but if an international standard exists
it can be coded for.

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 there is none for decimal and
thousands separators.

For example, there is an International Standard for numeric Gregorian date
format; but none for decimal and thousands separators.

Multinationalization means using different forms for different
nations. It cannot work well in general, because it requires a
knowledge of all national preferences and the ability to choose
the right one, in an environment where many systems are
inappropriately set anyway.

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.

* Note : Nations such as BE, CA, CH may have multiple conventions. The
word "nations" is therefore not really appropriate.

===
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 www.pair.com.

It might help if the quasi-sig were at the top, to be more obvious; there
could then be a minimal real sig "-- /Bart".

The quasi-sig material could be condensed a bit :-

Articles like this appear daily - to answer repeated questions, & to offer
the content to the community for continual evaluation & improvement.
The full newsgroup FAQ is at <http://jibbering.com/faq/index.html>.
The provision of these automated posts is hosted by <http://www.pair.com>.
 
D

Dr J R Stockton

In comp.lang.javascript message said:
Before I change the entry, are you going to change your mind again in
10 months or so? The current entry is a copy/paste of *your* suggestion
to change it. The only difference is you proposed two entries and I
made it one.


I propose improvements when I think of something better. What method do
you use?
 

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,787
Messages
2,569,627
Members
45,328
Latest member
66Teonna9

Latest Threads

Top