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

# Localization and translations

> Set the flow language and use custom translations.

## Language

| Integration | Behaviour | Override |
| - | - | - |
| iOS, Android | Device's preferred languages. | `locale`, for example `"en"` |
| Web SDK | Browsers preferred language | `locale`, for example `'en'` |
| Verification links | Browsers preferred language | `"locale"` in the link request |

The list of supported locales is available from `GET /sdk/v2/locales`, and the list of translation keys from `GET /sdk/v2/translations`.

### Language settings per flow

In **Flows → \[flow name] → Customize → Localization**:

* **Show locale switching** lets the applicant choose the language in the top-right corner of the verification screen. Turn it off to keep the language fixed.
* **Add default country** sets a fallback country when the applicant's IP country is unrecognized or unsupported, for example to show the expected document formats.

See [Flows](https://docs.checkin.com/backoffice/flows.md#localization).

## Supported languages

The default language is English.

| Language | Code |
| - | - |
| Albanian | `sq_AL` |
| Arabic | `ar_SA` |
| Azerbaijani | `az` |
| Basque | `eu` |
| Bosnian | `bs_BA` |
| Bulgarian | `bg` |
| Catalan | `ca` |
| Chinese (Simplified) | `zh_Hans` |
| Croatian | `hr` |
| Czech | `cs_CZ` |
| Danish | `da_DK` |
| Dutch | `nl` |
| English | `en` |
| Estonian | `et_EE` |
| Finnish | `fi` |
| French | `fr` |
| Galician | `gl` |
| German | `de` |
| Greek | `el_GR` |
| Hindi | `hi_IN` |
| Hungarian | `hu` |
| Icelandic | `is` |
| Indonesian | `id` |
| Italian | `it` |
| Japanese | `ja_JP` |
| Korean | `ko_KR` |
| Latvian | `lv` |
| Lithuanian | `lt` |
| Macedonian | `mk` |
| Malay | `ms_MY` |
| Norwegian Bokmål | `nb_NO` |
| Persian | `fa_IR` |
| Polish | `pl` |
| Portuguese | `pt_PT` |
| Portuguese (Brazil) | `pt_BR` |
| Romanian | `ro` |
| Russian | `ru` |
| Serbian | `sr` |
| Slovenian | `sl_SI` |
| Spanish | `es_ES` |
| Spanish (Argentina) | `es_AR` |
| Spanish (Mexico) | `es_MX` |
| Swedish | `sv_SE` |
| Thai | `th` |
| Turkish | `tr` |
| Ukrainian | `uk_UA` |
| Vietnamese | `vi_VN` |

## Custom translations

Upload a custom dictionary with `POST /api/v1/translations`, then pass its name to the SDK as `dictionary`, for example `dictionary: 'my-dictionary'` in the Web SDK. Verification links take it as the `dictionary` query parameter.

List dictionaries with `GET /api/v1/translations`.

Delete one locale with `DELETE /api/v1/translations/{dictionary}/{locale}`.

### Example

Each entry in `dictionaries` is one locale of a dictionary. `items` maps translation keys to your own text. Get the list of keys from `GET /sdk/v2/translations`.

```bash theme={null}
curl --request POST "https://partner.sb.getid.dev/api/v1/translations" \
  --header "X-API-Key: $CHECKIN_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "dictionaries": [
      {
        "locale": "en",
        "dictionary": "my-dictionary",
        "items": {
          "v8_thank_you_headline_title": "All done",
          "v8_thank_you_headline_subtitle_desktop_continue": "Now you can continue on desktop",
          "v8_global_shared_continue": "Continue"
        }
      }
    ]
  }'
```


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