SDK Locale
Set the language of the Luciq SDK UI from shared Kotlin code. More than 20 locales are supported, from English and Arabic to Japanese and Romanian.
Set the language used by the Luciq UI (buttons, labels, messages):
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