angular-docs-cn/packages/core/test/i18n
Pete Bacon Darwin c5894e08bc feat(common): support loading locales from a global (#33523)
To support compile time localization, we need to be
able to provide the locales via a well known global property.

This commit changes `getLocaleData()` so that it will attempt
to read the local from the global `ng.common.locales` if the
locale has not already been registered via `registerLocaleData()`.

PR Close #33523
2019-11-05 17:27:00 +00:00
..
locale_data_api_spec.ts feat(common): support loading locales from a global (#33523) 2019-11-05 17:27:00 +00:00