getLanguage

actual fun getLanguage(): String

Returns the platform's preferred language value.

Android returns the primary language subtag (for example, es). Apple platforms return the first preferred language tag (for example, es-ES), matching the existing app behavior.

actual fun getLanguage(): String

Returns the platform's preferred language value.

Android returns the primary language subtag (for example, es). Apple platforms return the first preferred language tag (for example, es-ES), matching the existing app behavior.

expect fun getLanguage(): String

Returns the platform's preferred language value.

Android returns the primary language subtag (for example, es). Apple platforms return the first preferred language tag (for example, es-ES), matching the existing app behavior.