473,386 Members | 1,846 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,386 software developers and data experts.

FAQ Topic - Internationalization and Multinationalization in javascript.

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

Oct 2 '07 #1
4 2245
In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Tue, 2 Oct 2007 23:00:02, FAQ server <ja********@dotinternet.be>
posted:
>-----------------------------------------------------------------------
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>.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt RAH Prins : c.l.p.b mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zipTimo Salmi's Turbo Pascal FAQ.
Oct 4 '07 #2
Dr J R Stockton said the following on 10/4/2007 9:32 AM:
In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Tue, 2 Oct 2007 23:00:02, FAQ server <ja********@dotinternet.be>
posted:

<snip>

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.

<URL:
http://groups.google.com/group/comp.lang.javascript/browse_frm/thread/4d36f0e703cd4e93/069ffb1fb95114e5?lnk=gst&q=international+John+Stoc kton&rnum=13#069ffb1fb95114e5>
>
>===
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".
I have emailed Bart (yesterday) and asked that the signature delimiter
be changed to <dash><dash<spacefrom the current delimiter.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Oct 5 '07 #3
In comp.lang.javascript message <pb*********************@giganews.com>,
Thu, 4 Oct 2007 20:55:54, Randy Webb <Hi************@aol.composted:
>
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?

--
(c) John Stockton, Surrey, 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 "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Oct 5 '07 #4
Dr J R Stockton said the following on 10/5/2007 4:59 PM:
In comp.lang.javascript message <pb*********************@giganews.com>,
Thu, 4 Oct 2007 20:55:54, Randy Webb <Hi************@aol.composted:
>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.
Interesting that you didn't answer the question.
What method do you use?
I employ the JRS method whereby I sit back and complain about what
others do. You are familiar with it, no?

It is changed locally.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
FAQ Notes: http://www.jibbering.com/faq/faq_notes/faq_notes.html
ECMAScript Language Specification via FAQ2.6
Oct 5 '07 #5

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

Similar topics

9
by: Brian Kelley | last post by:
I have been using gettext and various utilities to provide internationalization for a wxPython application and have not really been liking the process. Essentially it uses a macro-style notation...
2
by: Internationalization | last post by:
COMSYS Globalization Practice is looking for a C#/.NET Internationalization consultant in OR. Can you please contact me if you are interested or else know someone who would be interested. It will...
4
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalisation in javascript. ----------------------------------------------------------------------- ...
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Why was my post not answered? ----------------------------------------------------------------------- This...
2
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - Internationalization and Multinationalization in javascript....
1
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.