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

# React Native SDK: Translations

Configure widget language and translations with the Gleap React Native 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

```javascript
// 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()`)

## Related

- [React Native SDK setup](https://docs.gleap.ai/en/articles/499-react-native-sdk-setup.md)
- [React Native SDK: User identity](https://docs.gleap.ai/en/articles/500-react-native-sdk-user-identity.md)
- [React Native SDK: Track events](https://docs.gleap.ai/en/articles/501-react-native-sdk-track-events.md)
- [React Native SDK: Track pages](https://docs.gleap.ai/en/articles/502-react-native-sdk-track-pages.md)
- [React Native SDK: Frontend tools](https://docs.gleap.ai/en/articles/503-react-native-sdk-frontend-tools.md)
