🌐 Translations
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
cordova.plugins.GleapPlugin.setLanguage("es");
// 5 digit ISO code with lang - country
cordova.plugins.GleapPlugin.setLanguage("en-US");
Available default languages are: en, de, fr, it, es, cz, nl. You can add custom translations in the Gleap dashboard.