@angular/core

LOCALE_ID

constant

Provide this token to set the locale of your application. It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe, DecimalPipe and PercentPipe) and by ICU expressions.

  
    const LOCALE_ID: InjectionToken<string>;
  
  
Jump to details