JchuLocaleProvider

actual object JchuLocaleProvider

Reads the system locale using the behavior shared by the current JchuComponents apps.

actual object JchuLocaleProvider

Reads the system locale using the behavior shared by the current JchuComponents apps.

expect object JchuLocaleProvider

Reads the system locale using the behavior shared by the current JchuComponents apps.

Functions

Link copied to clipboard
actual fun getLanguage(): String

Returns the platform's preferred language value.

actual fun getLanguage(): String

Returns the platform's preferred language value.

expect fun getLanguage(): String

Returns the platform's preferred language value.

Link copied to clipboard
actual fun getLanguageTag(): String

Returns the full BCP 47 tag for the current locale or first preferred language.

actual fun getLanguageTag(): String

Returns the full BCP 47 tag for the current locale or first preferred language.

expect fun getLanguageTag(): String

Returns the full BCP 47 tag for the current locale or first preferred language.

Link copied to clipboard

Returns the language code used to select app translations.

Returns the language code used to select app translations.

Returns the language code used to select app translations.