🔎 Overview
This guide explains how to configure Link (the Mesh SDK) to support multiple languages for a localized user experience. Thelanguage parameter allows you to automatically match the user’s device/browser language, or specify a particular language and locale.
⚙️ Possible Values
<BCP 47 code>: A specific language code enumerated as the 2 digit language identifier (eg. “fr” for French) and the 2 digit region identifier (eg. “CA” for Canada), combined as “fr-CA”. Alternatively, the SDK will accept an input of only the language (eg. “fr”).- If the indicated language (eg. “
fr”) is followed by a region code (eg. “CA”) that is not recognized or supported for that language, Link will fall back to the default translation for that language, if available (eg. “fr-FR”). If no translation for the language is available, Link will default to “en-US” (English, US). - If you do not provide a value for the parameter, or if you provide a value for a language that is not supported, Link will default to “
en-US” (English, US). system: Link will detect the default language on the user’s browser and/or device and display Link in that language. If it is an unsupported value, it will fallback to another locale for that language, or it will fallback to the global default ofen-US.
🛠️ Implementation
1. Initialize Link with language
When you initialize Link in your application, use the language parameter to specify the desired language behavior.
🌐 Web SDK example
🍏 iOS Native SDK example
🤖 Android Native SDK example
ReactNative SDK example
Flutter SDK example
2. Test your implementation
Thoroughly test your implementation to ensure a seamless experience for your users:- Verify that Link displays correctly in the languages you intend to support.
- Please let your Mesh representative know if you spot any incorrectly translated words or phrases, or any layout issues (for example with right-to-left or character-based languages).
Currently supported languages
| Status | Language | Region | Locale code |
|---|---|---|---|
| live | English | United States global default | en-US |
| live | Spanish | United States es default | es-US |
| live | Russian | Russia | ru-RU |
| live | French | France fr default | fr-FR |
| live | Chinese/Mandarin (Simplified) | China zh default | zh-CN |
| live | Turkish | Turkey | tr-TR |
| live | Polish | Poland | pl-PL |
| live | Japanese | Japan | ja-JP |
| live | German | Germany | de-DE |
| live | Finnish | Finland | fi-FI |
| live | Hindi | India | hi-IN |
| live | Indonesian | Indonesia | id-ID |
| live | Malay | Malaysia | ms-MS |
| live | Portuguese | Portugal pt default | pt-PT |
| live | Thai | Thailand | th-TH |
| live | Ukrainian | Ukraine | uk-UK |
| live | Uzbek | Uzbekistan | uz-UZ |
| live | Vietnamese | Vietnam | vi-VN |
| live | system | system | |
| backlog | Arabic | Egypt | ar-EG |
| backlog | Chinese/Mandarin (Traditional) | United States | zh-US |
| backlog | Chinese | Hong Kong | zh-HK |
| backlog | Chinese | Taiwan | zh-TW |
| backlog | Czech | Czech Republic | cs-CZ |
| backlog | Danish | Denmark | da-DK |
| backlog | Dutch, Flemish | Belgium | nl-NL |
| backlog | English | Australia | en-AU |
| backlog | English | India | en-IN |
| backlog | English | United Kingdom | en-GB |
| backlog | French | Canada | fr-CA |
| backlog | Greek, Modern (1453–) | Greece | el-GR |
| backlog | Hebrew | Israel | he-IL |
| backlog | Hungarian | Hungary | hu-HU |
| backlog | Italian | Italy | it-IT |
| backlog | Korean | South Korea | ko-KR |
| backlog | Norwegian | Norway | no-NO |
| backlog | Portuguese | Brazil | pt-BR |
| backlog | Slovak | Slovakia | sk-SK |
| backlog | Spanish, Castilian | Spain | es-ES |
| backlog | Swedish | Sweden | sv-SE |