angular-docs-cn/packages/common/test/i18n
Olivier Combe 5296c04f61 fix(ivy): set LOCALE_ID when using the injector (#31566)
In `BrowserModule` the value of `LOCALE_ID` is defined in the `APPLICATION_MODULE_PROVIDERS` after `APP_INITIALIZER` has run.
This PR ensures that `LOCALE_ID` is also set for ivy at the same moment which allows the application to fetch the locale from a backend (for example).

Fixes #31465

FW-1436 #resolve

PR Close #31566
2019-07-26 14:04:47 -07:00
..
format_date_spec.ts fix(ivy): set LOCALE_ID when using the injector (#31566) 2019-07-26 14:04:47 -07:00
format_number_spec.ts fix(ivy): set LOCALE_ID when using the injector (#31566) 2019-07-26 14:04:47 -07:00
locale_data_api_spec.ts feat(ivy): use i18n locale data to determine the plural form of ICU expressions (#29249) 2019-05-30 15:09:02 -04:00
localization_spec.ts test(ivy): run common tests with ivy on ci (#27071) 2018-11-13 10:59:55 -08:00