Scripting API
LocaleModule

LocaleModule

The LocaleModule class encapsulates access to the locale identifier of the device.

Example

Properties

PropertyDescription
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.

Methods

This module exposes no methods.

Classes

This module exposes no classes.