angular-cn/tools
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
..
build build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
cjs-jasmine refactor(ivy): run the compiler compliance tests against ngtsc (#24862) 2018-07-20 11:48:36 -07:00
code.angularjs.org build: use subshells when changing directories 2017-05-12 12:19:51 -07:00
gulp-tasks fix(common): register locale data for all equivalent closure locales (#25867) 2018-09-10 13:59:56 -07:00
http-server style: format .bzl files with buildifier (#23544) 2018-08-08 13:12:07 -07:00
ngcontainer build: update to Node 10 (#25822) 2018-09-06 14:58:30 -07:00
npm build: remove local yarn (#19981) 2017-11-02 15:11:34 -07:00
public_api_guard feat(elements): enable Shadow DOM v1 and slots (#24861) 2018-08-30 21:33:14 -07:00
source-map-test build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
symbol-extractor style: tslint enforces no debugger statements left behind (#25532) 2018-08-16 16:00:22 -07:00
testing feat(ivy): first steps towards ngtsc mode (#23455) 2018-04-25 13:25:33 -07:00
travis build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
tree-shaking-test refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
ts-api-guardian feat(bazel): add additional parameters to `ts_api_guardian_test` def (#25694) 2018-09-07 14:24:31 -07:00
tsc-watch build: make `internal-angular` karma reporter compatible with latest karma (#24803) 2018-07-09 15:10:49 -07:00
tslint feat(elements): add schematics (#23298) 2018-04-11 18:13:30 -07:00
types-ext test: fix typings for `DoneFn` (#25163) 2018-07-27 11:13:32 -07:00
validate-commit-message build(bazel): turn on preserve-symlinks (#24881) 2018-07-20 10:37:30 -07:00
yarn build: upgrade yarn to 1.3.2 (#21406) 2018-01-10 12:32:26 -08:00
BUILD.bazel build: fix bazel stamping (#22965) 2018-03-28 09:00:02 -07:00
bazel.rc build(ivy): support alternate compilation modes to enable Ivy testing (#24056) 2018-05-29 18:02:29 -04:00
bazel_stamp_vars.sh build: only match version tags for BUILD_SCM_VERSION (#23903) 2018-05-14 12:44:26 -07:00
check-environment.js build: update to Node 10 (#25822) 2018-09-06 14:58:30 -07:00
defaults.bzl build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
jasmine-seed-generator.js test: run unit tests in random order (#19904) 2018-07-06 13:48:02 -07:00
jsconfig.json chore(vscode): add jsconfig.json and remove .settings dir 2015-10-29 13:53:21 +00:00
ng_setup_workspace.bzl fix(bazel): specify the package and lock files using the workspace (#25694) 2018-09-07 14:24:31 -07:00
postinstall-patches.js build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00
tsconfig.json test(bazel): Build and test ts-api-guardian locally (#22544) 2018-03-02 15:00:00 -08:00
types.d.ts build(bazel): use bazel managed node_modules for downstream angular from source build support (#24663) 2018-07-26 17:02:21 -07:00
utils.inc feat(bundle): add script to push bundles to code.angularjs.org 2015-04-14 14:50:53 -07:00