ServerJS/i18n: Difference between revisions
< ServerJS
Jump to navigation
Jump to search
(→Prior Art: Adding node-gettext) |
|||
Line 10: | Line 10: | ||
* [http://babel.edgewall.org/ | Babel] | * [http://babel.edgewall.org/ | Babel] | ||
* Dojo has a variation of require called requireLocalization which loads a JSON bundle based on locale and offers a string substitution utility. Dojo also [http://bugs.dojotoolkit.org/browser/util/trunk/buildscripts/cldr transforms] a subset of the XML from [http://unicode.org/cldr Unicode CLDR], the same repository which drives [http://www-01.ibm.com/software/globalization/icu/index.jsp ICU], into something [http://bugs.dojotoolkit.org/browser/dojo/trunk/cldr JSON-like]. Dojo then implements its own Javascript based utilities on top of that for culturally-sensitive parsing and formatting. | * Dojo has a variation of require called requireLocalization which loads a JSON bundle based on locale and offers a string substitution utility. Dojo also [http://bugs.dojotoolkit.org/browser/util/trunk/buildscripts/cldr transforms] a subset of the XML from [http://unicode.org/cldr Unicode CLDR], the same repository which drives [http://www-01.ibm.com/software/globalization/icu/index.jsp ICU], into something [http://bugs.dojotoolkit.org/browser/dojo/trunk/cldr JSON-like]. Dojo then implements its own Javascript based utilities on top of that for culturally-sensitive parsing and formatting. | ||
* [https://github.com/andris9/node-gettext node-gettext] |
Latest revision as of 17:55, 23 November 2011
Internationalization
I18n is an important need for web applications. JavaScript already has unicode string support, but the ability to localize information is important as well.
Standardizing this might be difficult, but would likely be worthwhile because every high level web framework could use the same formats for string catalogs and the same API for currency display, etc.
Prior Art
- ICU
- | Babel
- Dojo has a variation of require called requireLocalization which loads a JSON bundle based on locale and offers a string substitution utility. Dojo also transforms a subset of the XML from Unicode CLDR, the same repository which drives ICU, into something JSON-like. Dojo then implements its own Javascript based utilities on top of that for culturally-sensitive parsing and formatting.
- node-gettext