angular-docs-cn/tools/gulp-tasks/cldr
Vikram Subramanian d83f9d432a fix(common): register locale data for all equivalent closure locales (#25867)
This fix is for the issue below when compiling I18N Angular apps using closure.

For certain locales closure converts the input locale id to a different equivalent locale string. For example if the input locale is 'id'(for Indonesia) goog.LOCALE is set to 'in' and the closure locale data is registered only for 'in'. The Angular compiler uses the original input locale string, 'id' to set the LOCALE_ID token and there is a mismatch of locale used to register and locale used when requesting the locale data.

The fix is for the closure-locale.ts code to register the locale data for all equivalent locales names so that it doesn't matter what goog.LOCALE is actually set to.

PR Close #25867
2018-09-10 13:59:56 -07:00
..
cldr-data.js
cldr-urls.json
closure.js fix(common): register locale data for all equivalent closure locales (#25867) 2018-09-10 13:59:56 -07:00
extract.js fix(common): use correct currency format for locale de-AT (#24658) 2018-07-09 15:10:06 -07:00
util.js