> For the complete documentation index, see [llms.txt](https://docs.transactionlink.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.transactionlink.io/docs/workflows/js-api/supported-languages.md).

# Supported languages

The languages of the widget interface and how the widget selects one.

The widget shows its interface in the language that you set in the `locale` field when you [initialise a new workflow execution](https://docs.transactionlink.io/docs/transactionlink-api/api-reference/workflows.md#initialise-a-new-workflow-execution) (`POST /workflows`). Use a language code from the table below.

```json
{
  "workflowDefinitionId": "9ac5e4b8-fd54-4df2-987d-215acc92ea43",
  "locale": "de"
}
```

## Languages

| Language   | Code |
| ---------- | ---- |
| Dutch      | `nl` |
| English    | `en` |
| Finnish    | `fi` |
| French     | `fr` |
| German     | `de` |
| Italian    | `it` |
| Lithuanian | `lt` |
| Polish     | `pl` |
| Portuguese | `pt` |
| Russian    | `ru` |
| Spanish    | `es` |
| Ukrainian  | `uk` |

## Rules

* Send only a code from the table. The API rejects other values, for example regional codes such as `de-AT` or `en-US`.
* Codes are not case-sensitive. `de` and `DE` give the same result.
* If you do not send `locale`, the widget uses the browser language. A regional browser language, such as `de-AT` or `pt-BR`, shows its base language. If the browser language is not in the table, the interface shows in English.
