I'd just like to point out that I have major reservations about the i18n proposal, which I have already expressed on the es-discuss mailing list. I hope this never becomes a standard. The reasons are:
* I don't want to make V8 depend on a massive i18n library. * The libraries are platform dependent and vary from platform to platform * These differences are exposed to the web page and include really basic stuff like the naming of the locales. It's a bloat nightmare and a testing/compatibility nightmare for the web page developer to expect the browser to supply an implementation of every locale ever invented. I would much prefer a solution where the web page gets to specify the collation order that it wants. Ie implement localized sort routines in JS. An open Source JS library based on the data in ICU could be implemented and each page could download the parts it needed and perform any client side sorting using that. 9. dec. 2010 00.23 skrev <[email protected]>: > Reviewers: Mads Ager, Jungshik Shin, > > Message: > Jungshik, you already reviewed most of the code, but you may want to take > one > more look at it. > > tools/presubmit.py found no errors. > > Description: > Adding experimental JavaScript internationalization API to V8 as an > extension. > This CL implements Locale object only. > > Each embeder has to decide whether to include this extension or not by > editing > their build rules. > > See ecmascript strawman document for details on i18n API. > http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api > > TEST=WebKit CL (in progress) will have layout tests for extension. > > > Please review this at http://codereview.chromium.org/5671002/ > > SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ > > Affected files: > A src/extensions/experimental/i18n-extension.h > A src/extensions/experimental/i18n-extension.cc > > > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > -- Erik Corry, Software Engineer Google Denmark ApS - Frederiksborggade 20B, 1 sal, 1360 København K - Denmark - CVR nr. 28 86 69 84 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
