> For the complete documentation index, see [llms.txt](https://docs.amply.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.amply.tools/mini-apps/languages.md).

# Languages

Translate a mini-app into several languages and check what is still missing.

A mini-app can carry several languages. On the device it shows the one your app is showing, so a user who reads your app in German sees the German mini-app.

## Add a language

Open **Localization** in the editor's header. The **Languages** list shows every language of the mini-app and how much of it is translated. The star marks the default language: the one you write in, and the one users see when their language is missing.

* **+ Add language** adds one.
* The star on a row makes that language the default.
* The bin icon removes a language and every text translated into it.

A warning under the list names what's missing, for example *German: 1 of 13 texts not translated — it will show in English*.

![The Localization window: English and German, a warning about one missing German text, and the table of strings](https://1054862905-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNVDwzd9ZLJgvvnIADl8D%2Fuploads%2Fgit-blob-2dc54c28cad3a82df354e6c0295a1c016d2062cc%2Fbuilder-localization.png?alt=media)

## Translate the texts

The **Strings** table has one row per text in the mini-app, grouped by screen, and one column per language. Type a translation straight into its cell. A cell with no translation is marked **Missing**. **Missing only** hides everything that is already translated.

To hand the work to a translator, **Export for translation** downloads every text in every language as one JSON file. **Import texts** reads the file back and reports how many texts it updated, left unchanged or skipped.

Switch **Preview language** in the toolbar to check each translation in place. Long German words, for example, may need a smaller text style.

## Which language a user sees

A mini-app uses the language your app is showing. If the mini-app has no exact match, it falls back to the closest one: a user on Mexican Spanish (`es-MX`) gets Latin-American Spanish (`es-419`) if you added it, and plain Spanish (`es`) otherwise. When nothing matches, the user sees the default language.

The app's language comes from the device, or from your app if it tells Amply itself. See [App language](https://docs.amply.tools/developer-guide/app-language.md).

To show a campaign only to users of one language, use the **App language** condition in the campaign's Who step. See [Targeting an audience](https://docs.amply.tools/user-guide/targeting-an-audience.md).

## Related

* [Building a mini-app](https://docs.amply.tools/mini-apps/building-a-mini-app.md)
* [App language](https://docs.amply.tools/developer-guide/app-language.md) — where the language comes from
* [Publishing and versions](https://docs.amply.tools/mini-apps/publishing-and-versions.md)
