LocaleModule
The LocaleModule
class encapsulates access to the locale identifier of the device.
Example
Properties
Methods
This module exposes no methods.
Classes
This module exposes no classes.
Last updated
The LocaleModule
class encapsulates access to the locale identifier of the device.
This module exposes no methods.
This module exposes no classes.
Last updated
Property
Description
fromDevice
(get) fromDevice: string (set) (Not Available)
Provides the ISO 639-1 language + ISO 3166-1 region compliant locale identifier, e.g. en_US
or zh_HK
.
language
(get) language: StringSignal (set) (Not Available)
Provides the ISO 639-1 compliant language identifier, e.g. en
or zh
.
locale
(get) locale: StringSignal (set) (Not Available)
Provides the ISO 639-1 language + ISO 3166-1 region compliant locale identifier, e.g. en_US
or zh_HK
.
region
(get) region: StringSignal (set) (Not Available)
Provides the ISO 3166-1 region identifier, e.g. US
, or HK
.