setLanguagePreference

fun setLanguagePreference(languageCode: String)

Sets the locale for the application based on the user's preferred language.

Parameters

languageCode

The language code to set the application locale to.