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
Olivier Combe
dcabb05102
fix(common): use correct currency format for locale de-AT ( #24658 )
...
Fixes #24609
PR Close #24658
2018-07-09 15:10:06 -07:00
Olivier Combe
39c8baea31
fix(common): use correct ICU plural for locale mk ( #24659 )
...
PR Close #24659
2018-06-27 15:03:34 -07:00
Olivier Combe
d1177c75f8
refactor: update CLDR data for closure locale & use a const for undefined ( #23372 )
...
PR Close #23372
2018-04-13 16:30:23 -07:00
Olivier Combe
0b2f7d13d0
fix(common): regenerate i18n locale data files ( #21783 )
...
PR Close #21783
2018-02-09 14:42:23 -08:00
Olivier Combe
b62739a989
fix(common): generate closure-locale data file with exported plural functions ( #21873 )
...
Fixes #21870
PR Close #21873
2018-01-30 11:42:31 -08:00
Olivier Combe
97b18b2a5c
fix(common): extract plural function from i18n locale data files for TS 2.6 ( #21626 )
...
Fixes #21608
PR Close #21626
2018-01-19 13:23:34 -08:00
Olivier Combe
135a2822ea
fix(common): don't remove special characters when extracting CLDR data ( #21626 )
...
PR Close #21626
2018-01-19 13:23:34 -08:00
Olivier Combe
3ce3b4d2af
refactor(common): update i18n locale data to CLDR v32 ( #20830 )
...
List of changes between v31.0.1 and v32: http://cldr.unicode.org/index/downloads/cldr-32
PR Close #20830
2017-12-08 10:24:33 -08:00
Olivier Combe
24bf3e2a25
feat(common): add locale id parameter to `registerLocaleData` ( #20623 )
...
PR Close #20623
2017-11-27 17:00:06 -06:00
Olivier Combe
57abe8d078
refactor(common): export locale data from closure-locale ( #18973 )
...
PR Close #18973
2017-08-31 11:23:12 -07:00
Victor Berchet
fdd5010832
fix(common): fix a duplicate case in the locale switch ( #18941 )
2017-08-29 17:02:20 -07:00
Olivier Combe
946e5bda22
fix(common): update closure-locale generation for tree shaking ( #18938 )
2017-08-29 15:29:21 -07:00
Olivier Combe
90bd984ff7
refactor(common): simplify closure-locale by removing imports ( #18926 )
2017-08-29 11:54:43 -07:00
Olivier Combe
48789360b1
feat(common): generate `closure-locale.ts` to tree shake locale data ( #18907 )
...
Closure will only keep the data for the locale defined in `goog.LOCALE`
PR Close #18907
2017-08-29 11:26:10 -05:00