Service to provide the current locale from Angular's LOCALE_ID. Implements the LocaleProvider interface.

Implements

Constructors

Properties

Methods

Constructors

Properties

canWrite: false

Indicates whether the provider supports writing.

locale: null | string = ...

The current locale.

locale$: Observable<null | string> = ...

Observable that emits the current locale.

Methods