Gleap was built for people around the world and offers translations for many languages by default. If we are missing a language or translation, you can simply add an additional language yourself in our visual widget configurator.
Gleap automatically picks the device language as default language. If the device language is not available it will switch to English as a fallback. In some situations you might want to overwrite the device language with a custom language. This can be achieved with the following method.
Overwrite the default language
// 2 digit ISO code
// 5 digit ISO code with lang - country
Please use the
setLanguage method only before the initialization of the Gleap SDK (before calling
Gleap.initialize()) OR when users perform a language change in your application. Note that setting the language reloads the whole widget, which might lead to unwanted behaviour, so it's recommended to stick to the two use-cases above.