SDK Locale

This section covers how to change the language of the SDK in your app as well as the content of all Luciq messages that your users see for iOS apps.

Setting the locale

The SDK will automatically use the current locale of your user's device, however, you can override it with the following method.

Luciq.setLocale(.french)

Here are the possible locale values:

.arabic
.azerbaijani
.catalan
.catalanSpain
.chineseSimplified
.chineseTaiwan
.chineseTraditional
.czech
.danish
.dutch
.english
.french
.german
.italian
.japanese
.korean
.norwegian
.polish
.portuguese
.portugueseBrazil
.russian
.slovak
.spanish
.swedish
.turkish
.hungarian
.finnish

Dashboard Language

At the moment, the Luciq dashboard only supports English. Changing the SDK locale will not change the language of your dashboard.

Overriding String Values

You can also override each string shown to your users individually using the following method.

Here are the possible keys:

Last updated