---
title: "Cordova SDK: Translations"
description: "Configure widget language and translations with the Gleap Cordova SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/606-cordova-sdk-translations
collection: "Cordova"
updated: 2026-11-01
language: en
---

# Cordova SDK: Translations

Configure widget language and translations with the Gleap Cordova SDK. Follow the integration code examples.

Gleap supports multiple languages. Add a language under Settings → Project → Languages and edit the widget’s built-in text under Settings → Project → Static translations. Use the SDK method below to select the language for the current user.

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

```js
// 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.

## Related

- [Cordova SDK setup](https://docs.gleap.ai/en/articles/595-cordova-sdk-setup.md)
- [Cordova SDK: User identity](https://docs.gleap.ai/en/articles/596-cordova-sdk-user-identity.md)
- [Cordova SDK: Track events](https://docs.gleap.ai/en/articles/597-cordova-sdk-track-events.md)
- [Cordova SDK: Track pages](https://docs.gleap.ai/en/articles/598-cordova-sdk-track-pages.md)
- [Cordova SDK: Forms](https://docs.gleap.ai/en/articles/599-cordova-sdk-forms.md)
