Skip to main content

🌐 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
Gleap.setLanguage("es");

// 5 digit ISO code with lang - country
Gleap.setLanguage("en-US");
info

Please use the setLanguage method only before the initialization of the Gleap SDK (before calling Gleap.initialize())