languageTag

The unique BCP 47 language tag identifying this AppLocale.

Returns the canonical language identifier (e.g., "en-US", "zh-Hans-HK").

Example:

val tag = currentLocale.languageTag

The unique BCP 47 language tag identifying this AppLocale.

Returns the canonical language identifier (e.g., "en-US", "zh-Hans-HK").

Example:

val tag = currentLocale.languageTag

The unique BCP 47 language tag identifying this AppLocale.

Returns the canonical language identifier (e.g., "en-US", "zh-Hans-HK").

Example:

val tag = currentLocale.languageTag

The unique BCP 47 language tag identifying this AppLocale.

Returns the canonical language identifier (e.g., "en-US", "zh-Hans-HK").

Example:

val tag = currentLocale.languageTag

The unique BCP 47 language tag identifying this AppLocale.

Returns the canonical language identifier (e.g., "en-US", "zh-Hans-HK").

Example:

val tag = currentLocale.languageTag