The globalization namespace is intended for the development of the ECMAScript Internationalization API (formerly known as ECMAScript Globalization API). This API provides customizable language-sensitive functionality as an add-on to the ECMAScript Language Specification.
Edition 1.0 of standard ECMA-402, ECMAScript Internationalization API Specification, is available on the Ecma International web site: PDF, HTML, EPUB.
Main pages:
Internationalization issues in the ECMAScript Language Specification itself will continue to be discussed in the strawman and harmony namespaces.
Provide an API that complements the ECMAScript Language Specification with:
The ECMAScript Language Specification provides limited support for internationalization. The current API offers rudimentary sorting and formatting functions like Date.toLocaleString(). The API is tied to a single locale determined by the host environment.
Developers came up with two ways of solving some of these problems:
Both of these approaches have problems:
BCP47
CLDR
ICU : NumberFormat, DateFormat, Collator
Opensocial internationalization API
Dojo internationalization API
Closure internationalization API : DateTimeFormat, DateTimeParse, NumberFormat, TimeZone, MessageFormat
CommonJS
UTS#35
W3C Internationalization WG's requirements for ECMAScript internationalization
.Net Framework Globalization
PHP internationalization extension
Unknown or invalid identifiers
ActionScript Globalization pointers (pdf)