setLanguage

fun setLanguage(language: String?): Boolean

Sets the language of the user. Language Strings should be valid ISO 639-1 language codes. See https://www.loc.gov/standards/iso639-2/php/code_list.php.

If not set here, user language will be inferred from the device locale.

Parameters

language

The ISO 639-1 language code for the user's language. A null value will unset the language for this user.