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

# Flutter SDK: Translations

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

```dart
Gleap.setLanguage(language: 'de');
```

```dart
// 5 digit ISO code with lang - country
Gleap.setLanguage(language: 'en-US');
```

> **Info:** Please use the `setLanguage` method only before the initialization of the Gleap SDK (before calling `Gleap.initialize()`)

## Related

- [Flutter SDK setup](https://docs.gleap.ai/en/articles/531-flutter-sdk-setup.md)
- [Flutter SDK: User identity](https://docs.gleap.ai/en/articles/532-flutter-sdk-user-identity.md)
- [Flutter SDK: Track events](https://docs.gleap.ai/en/articles/533-flutter-sdk-track-events.md)
- [Flutter SDK: Track pages](https://docs.gleap.ai/en/articles/534-flutter-sdk-track-pages.md)
- [Flutter SDK: Frontend tools](https://docs.gleap.ai/en/articles/535-flutter-sdk-frontend-tools.md)
