ibm-js / ecma402

ECMA-402 JavaScript Internationalization API "shim"
Other
34 stars 21 forks source link

Add the possibility to build the cldr data to have only one file per locale to download. #59

Closed clmath closed 10 years ago

clmath commented 10 years ago

This PR add support for the build of cldr data.

Running a build will generate a cldr layer for each locale specified. The system to configure the locales to build is the same than the one used to preload locales at runtime.

The layer will contains all the json files required by ecma402/impl/load and the calendar modules will be added to the regular js layer.

The code in ecma402/locales.js is responsible for writing the layers while the code in ecma402/load.js is responsible for picking the right layer if one is available.

cjolif commented 10 years ago

looks good to me. if no objection I suggest we merge that in so that we can proceed with the build version of the projects for the delite(ful) 0.2.0-dev release.

JCEmmons commented 10 years ago

Merged with a9cc7c52bec11f2956c4c34ddfe7c763e53c3df3 . Closing.