SDK Locale

Set the SDK UI language (locale) in KMP.

Set the language used by the Luciq UI (buttons, labels, messages):

Kotlin
LuciqKmp.setLocale(Locale.English)
LuciqKmp.setLocale(Locale.Arabic)
LuciqKmp.setLocale(Locale.French)
// ... etc.

Supported locales include: English, Arabic, Azerbaijani, Chinese (Simplified/Traditional), Czech, Danish, Dutch, French, German, Indonesian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese (Brazil/Portugal), Romanian, Russian, Spanish, Slovak, Swedish, Turkish. See the Locale enum in the library for the full list.

You can combine this with LuciqKmp.setString to override specific strings while keeping the rest in the chosen locale.

Last updated