> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Localization

> Learn how your app passes the device language to your website, and which native interface strings Median translates for the languages you enable.

Your app shows content in two layers, and each layer is localized separately:

* **Web content** is your website, displayed in the app. Your website controls its own translations, just as it does in a browser.
* **Native interface** is everything Median renders outside your website, such as dialog buttons and the menu that appears when a user long-presses a link. Median translates these strings for the languages you enable in App Studio.

## Web content

Your app passes the user's device language to your website in the `Accept-Language` header, the same way a mobile browser does. If your website already serves translated content based on that header, it works in the app with no changes. This works for any language your website supports.

> [!TIP]
>
> **Read the language in JavaScript**
>
> You can also read the user's language in JavaScript with `navigator.language`.
> This is useful if your site switches languages on the client side instead of
> the server.

## Native interface

Median translates these native strings:

* **Dialog buttons:** OK, Cancel, Done, View, and Menu
* **Link menu** (shown when a user long-presses a link): Open link in external browser, Copy link address, and Share link

### Enable languages

1. In App Studio, go to **Interface → Localization**.
2. Select the languages you want to include.
3. Rebuild your app. Language changes only take effect in a new build.

If a user's device language isn't enabled in your app, the native strings are shown in English.

### Available languages

| Language | Code |
| - | - |
| Arabic | `ar` |
| Catalan | `ca` |
| Chinese (Traditional) | `zh-Hant` |
| Czech | `cs` |
| Danish | `da` |
| Dutch | `nl` |
| English | `en` |
| Finnish | `fi` |
| French | `fr` |
| German | `de` |
| Hebrew | `he` |
| Hungarian | `hu` |
| Italian | `it` |
| Japanese | `ja` |
| Korean | `ko` |
| Norwegian (Nynorsk) | `nn-NO` |
| Portuguese (Brazil) | `pt-BR` |
| Portuguese (Portugal) | `pt-PT` |
| Russian | `ru` |
| Scottish Gaelic | `gd` |
| Spanish | `es` |
| Spanish (Latin America) | `es-419` |
| Turkish | `tr` |
| Ukrainian | `uk` |

### Translation reference

> [accordion] Dialog buttons
>
> | Code | `button-ok` | `button-cancel` | `button-done` | `button-view` | `button-menu` |
> | - | - | - | - | - | - |
> | `en` | OK | Cancel | Done | View | Menu |
> | `ar` | حسناً | إلغاء | تم | عرض | القائمة |
> | `ca` | OK | Cancel·la | Fet | Veure | Menú |
> | `zh-Hant` | 好的 | 取消 | 完成 | 查看 | 選單 |
> | `cs` | OK | Zrušit | Hotovo | Zobrazit | Menu |
> | `da` | OK | Annuller | Færdig | Vis | Menu |
> | `nl` | OK | Annuleren | Gereed | Bekijken | Menu |
> | `fi` | OK | Peruuta | Valmis | Näytä | Valikko |
> | `fr` | OK | Annuler | Terminé | Afficher | Menu |
> | `de` | OK | Abbrechen | Fertig | Anzeigen | Menü |
> | `he` | אישור | ביטול | סיום | הצג | תפריט |
> | `hu` | OK | Mégsem | Kész | Megtekintés | Menü |
> | `it` | OK | Annulla | Fine | Visualizza | Menu |
> | `ja` | OK | キャンセル | 完了 | 表示 | メニュー |
> | `ko` | 확인 | 취소 | 완료 | 보기 | 메뉴 |
> | `nn-NO` | OK | Avbryt | Ferdig | Vis | Meny |
> | `pt-BR` | OK | Cancelar | Concluído | Ver | Menu |
> | `pt-PT` | OK | Cancelar | Concluído | Ver | Menu |
> | `ru` | ОК | Отменить | Готово | Просмотреть | Меню |
> | `gd` | Ceart ma-thà | Sguir dheth | Deiseil | Seall | Clàr-taice |
> | `es` | Aceptar | Cancelar | Listo | Ver | Menú |
> | `es-419` | Aceptar | Cancelar | Listo | Ver | Menú |
> | `tr` | Tamam | İptal | Bitti | Görüntüle | Menü |
> | `uk` | Гаразд | Скасувати | Готово | Переглянути | Меню |

> [accordion] Link menu
>
> | Code | `button-open-external` | `button-copy-link` | `button-share-link` |
> | - | - | - | - |
> | `en` | Open link in external browser | Copy link address | Share link |
> | `ar` | فتح الرابط في متصفح خارجي | نسخ الرابط | مشاركة الرابط |
> | `ca` | Obre l'enllaç al navegador extern | Copia l'adreça de l'enllaç | Comparteix l'enllaç |
> | `zh-Hant` | 用外部瀏覽器開啟連結 | 複製連結位址 | 分享連結 |
> | `cs` | Otevřít odkaz ve vnějším prohlížeči | Kopírovat adresu odkazu | Sdílet odkaz |
> | `da` | Åbn link i ekstern browser | Kopiér linkadresse | Del link |
> | `nl` | Open link in externe browser | Kopieer linkadres | Deel link |
> | `fi` | Avaa linkki ulkoisessa selaimessa | Kopioi linkin osoite | Jaa linkki |
> | `fr` | Ouvrir le lien dans le navigateur externe | Copier l’adresse du lien | Partager le lien |
> | `de` | Link in externem Browser öffnen | Linkadresse kopieren | Link teilen |
> | `he` | פתח קישור בדפדפן חיצוני | העתק כתובת קישור | שתף קישור |
> | `hu` | Megnyitás külső böngészőben | Hivatkozás másolása | Hivatkozás megosztása |
> | `it` | Apri link nel browser esterno | Copia indirizzo link | Condividi link |
> | `ja` | 外部ブラウザで開く | リンクをコピー | 共有 |
> | `ko` | 외부 브라우저로 링크 열기 | 링크 주소 복사 | 링크 공유 |
> | `nn-NO` | Opne lenkje i ekstern nettlesar | Kopier lenkjeadresse | Del lenkje |
> | `pt-BR` | Abrir link no navegador externo | Copiar endereço do link | Compartilhar link |
> | `pt-PT` | Abrir ligação no navegador externo | Copiar endereço da ligação | Partilhar ligação |
> | `ru` | Открыть ссылку во внешнем браузере | Скопировать адрес ссылки | Поделиться ссылкой |
> | `gd` | Fosgail an ceangal ann am brabhsair eile | Dèan lethbhreac de sheòladh a' cheangail | Co-roinn an ceangal |
> | `es` | Abrir enlace en el navegador externo | Copiar enlace | Compartir enlace |
> | `es-419` | Abrir enlace en el navegador externo | Copiar dirección del enlace | Compartir enlace |
> | `tr` | Dış tarayıcıda bağlantıyı aç | Bağlantı adresini kopyala | Bağlantıyı paylaş |
> | `uk` | Відкрити в браузері | Копіювати посилання | Поділитися |

## Request a language or report a translation

If your language isn't listed, or a translation is missing or incorrect, [contact our team](https://median.co/contact) with the language and the strings you'd like added or changed. We'll update the translations and announce the change in the [release notes](https://docs.median.co/docs/changelog.md).

> [!NOTE]
>
> **Store listings**
>
> Your App Store and Google Play listings are localized separately in App Store
> Connect and Google Play Console.


## Related topics

- [Permission prompt localization](https://docs.median.co/docs/permission-prompt-localization.md)
- [Localized tab menu](https://docs.median.co/docs/localized-tab-menu.md)
- [Changelog archive](https://docs.median.co/docs/changelog-archive.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.