(localeId: string)
| 24 | * @param localeId |
| 25 | */ |
| 26 | export function setLocaleId(localeId: string) { |
| 27 | ngDevMode && assertDefined(localeId, `Expected localeId to be defined`); |
| 28 | if (typeof localeId === 'string') { |
| 29 | LOCALE_ID = localeId.toLowerCase().replace(/_/g, '-'); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Gets the locale id that will be used for translations and ICU expressions. |
no test coverage detected