---
title: "Unity SDK: Translations"
description: "Configure widget language and translations with the Gleap Unity SDK. Follow the integration code examples."
url: https://docs.gleap.ai/en/articles/678-unity-sdk-translations
collection: "Unity (Beta)"
updated: 2026-11-01
language: en
---

# Unity SDK: Translations

Configure widget language and translations with the Gleap Unity 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. If the device language is not available it falls back to English. 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

```csharp
Gleap.SetLanguage("de");
```

```csharp
// 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 the platform attach call).

## Related

- [Unity SDK setup](https://docs.gleap.ai/en/articles/664-unity-sdk-setup.md)
- [Unity SDK: User identity](https://docs.gleap.ai/en/articles/665-unity-sdk-user-identity.md)
- [Unity SDK: Track events](https://docs.gleap.ai/en/articles/666-unity-sdk-track-events.md)
- [Unity SDK: Track pages](https://docs.gleap.ai/en/articles/667-unity-sdk-track-pages.md)
- [Unity SDK: Forms](https://docs.gleap.ai/en/articles/668-unity-sdk-forms.md)
