setLanguageCode

fun setLanguageCode(locale: Locale, doubleLanguage: Boolean)

Assigns a preferential language code for labels rendering.

Parameters

locale

Locale info containing the language code.

doubleLanguage

Set as true to enable the display of both official and translated labels (the language used for the translation is defined by locale). The first name is the official name and the second is set by locale (if available)