diff --git a/src/ui_ng/package.json b/src/ui_ng/package.json index 0433d9138..126283738 100644 --- a/src/ui_ng/package.json +++ b/src/ui_ng/package.json @@ -27,11 +27,11 @@ "@ngx-translate/http-loader": "0.0.3", "@types/jquery": "^2.0.41", "@webcomponents/custom-elements": "1.0.0-alpha.3", - "angular2-cookie": "^1.2.6", "clarity-angular": "^0.9.0", "clarity-icons": "^0.9.0", "clarity-ui": "^0.9.0", "core-js": "^2.4.1", + "intl": "^1.2.5", "mutationobserver-shim": "^0.3.2", "ngx-cookie": "^1.0.0", "rxjs": "^5.0.1", diff --git a/src/ui_ng/src/polyfills.ts b/src/ui_ng/src/polyfills.ts index 75db19a93..a5db6b79a 100644 --- a/src/ui_ng/src/polyfills.ts +++ b/src/ui_ng/src/polyfills.ts @@ -30,6 +30,10 @@ import 'core-js/es6/reflect'; import 'core-js/es7/reflect'; +import 'intl'; +import 'intl/locale-data/jsonp/en'; +import 'intl/locale-data/jsonp/es'; +import 'intl/locale-data/jsonp/zh'; import 'zone.js/dist/zone';