473,388 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

FAQ Topic - Internationalization and Multinationalization in javascript. (2008-04-11)

-----------------------------------------------------------------------
FAQ Topic - Internationalization and Multinationalization 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 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 http://www.pair.com.

Apr 10 '08 #1
1 1142
On Apr 10, 4:00 pm, "FAQ server" <javascr...@dotinternet.bewrote:

Much more support is expected in future versions of JavaScript.
Not an unreasonable expectation, but AFAIK I don't think there will be
new I18n features.

There is a thread on "date format" on the ES4 discuss list but it
looks like (so far) that it won't make it into ES4.

Garrett
--
Apr 11 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: Patient Guy | last post by:
Has anyone written code that successfully manipulates binary file data using Javascript? It might---and in the case of doing I/O, will---make use of browser- specific functions (ActiveX/COM with...
21
by: petermichaux | last post by:
Hi, I've been asking questions about library design over the last week and would like to get feedback on my overall idea for a JavaScript GUI library. I need a nice GUI library so there is a...
4
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalisation in javascript. ----------------------------------------------------------------------- ...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalization and Multinationalization in javascript....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.