469,913 Members | 2,022 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

FAQ Topic - Internationalisation in javascript.

-----------------------------------------------------------------------
FAQ Topic - Internationalisation in javascript.
-----------------------------------------------------------------------

There are but a few Internationalisation features in JavaScript.
The various toString() methods are all implementation dependent,
but tend to use either UK or US settings. ECMAScript Ed. 3 has
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://www.jibbering.com/faq/.
The FAQ workers are a group of volunteers.

Dec 2 '06 #1
4 1681
FAQ server wrote:
Much more support is expected in future versions of JavaScript.
Does anyone know the status of the ECMAScript version 4 work?

Peter

Dec 3 '06 #2
In comp.lang.javascript message
<45***********************@news.sunsite.dk>, Sun, 3 Dec 2006 00:00:01,
FAQ server <ja********@dotinternet.bewrote:
>-----------------------------------------------------------------------
FAQ Topic - Internationalisation in javascript.
-----------------------------------------------------------------------

There are but a few Internationalisation features in JavaScript.
The various toString() methods are all implementation dependent,
but tend to use either UK or US settings. ECMAScript Ed. 3 has
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.
-----------------------------------------------------------------------
FAQ Topic - Internationalisation in javascript.
-----------------------------------------------------------------------

Internationalisation means using one form which is both acceptable and
unambiguous 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.

-----------------------------------------------------------------------
FAQ Topic - Multinationalisation in javascript.
-----------------------------------------------------------------------

Multinationalisation 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.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 IE 6.
Web <URL:http://www.merlyn.demon.co.uk/- w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/- see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.
Dec 3 '06 #3
VK

Dr J R Stockton wrote:
Multinationalisation means using different forms for different nations.
Yes - but in commerce. I see no reason to liken JavaScript to some
cross-nations corporation to use on it "internationalization",
"multinationalization" or "globalization" :-) More over even I switch
my computer date format from mm.dd.yyyyy to something else I will not
become French or German :-) That just means that at the given moment of
time I want to see the given data in the given way.This way nation
involvment in the term is ambigous.
In the computer indistry it is regurally called "Regional settings",
"System local settings", "Locale settings" and variants.
Anything of above in the form "Using ... in JavaScript" would be the
best.

--
"...internationalisation may take on three different meanings:
internationalisation (within or across national markets),
multinationalisation, and globalisation. Each of these describes a
stage of development which may be encountered after the firm has
expanded its trade outside the domestic markets. Unfortunately, these
three concepts are not very clearly defined. While internationalisation
refers to a gradual, low-scale development process,
multinationalisation refers to a stage in which a firm has already
established foreign production units..."
Petrella, Riccardo, "International, Multinationalization and
Globalization of R&D: Toward a New Division of Labor in Science and
Technology?"

Dec 3 '06 #4
VK

VK wrote:
Yes - but in commerce. I see no reason to liken JavaScript to some
cross-nations corporation to use on it "internationalization",
"multinationalization" or "globalization" :-) More over even I switch
my computer date format from mm.dd.yyyyy to something else I will not
become French or German :-) That just means that at the given moment of
time I want to see the given data in the given way.This way nation
involvment in the term is ambigous.
In the computer indistry it is regurally called "Regional settings",
"System local settings", "Locale settings" and variants.
Anything of above in the form "Using ... in JavaScript" would be the
best.
involvment = involvement
ambigous = ambiguous
indistry = industry
regurally = regularly

My keyboard is possessed today, that's my story and I stay on it. :-)

Dec 3 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.