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

# Supported languages

You can pass a language value in certain API requests and JavaScript functions, determining how checkout experiences, disclosures, purchase invoices, and credit memos are translated.

{% hint style="info" %}
You can also append a country or region code that localizes the translation for some languages, such as Chinese and English.
{% endhint %}

Depending on whether you create your checkout experience using [Prebuilt Checkout](https://docs.digitalriver.com/digital-river-api/integration-options/low-code-checkouts/drop-in-checkout) or take the [Direction Integrations](https://docs.digitalriver.com/digital-river-api/integration-options/checkouts) approach, refer to the following sections to learn more about which requests and functions accept a language and what behavior it controls:

{% tabs %}
{% tab title="Prebuilt Checkout" %}

* [Localize the checkout experience](/digital-river-api-reference/digital-river-api-reference-guide/supported-languages.md) on the [Configuring the modal](https://docs.digitalriver.com/digital-river-api/developer-resources/digitalrivercheckout.js-reference/digitalrivercheckout-object/configuring-prebuilt-checkout) page
* [Language](/digital-river-api-reference/2021-12-13/drop-in-checkout-sessions/checkout-sessions-basics.md#language) on the [Checkout-sessions](/digital-river-api-reference/2021-12-13/drop-in-checkout-sessions/checkout-sessions-basics.md) page
  {% endtab %}

{% tab title="Direct Integrations" %}

* [Initializing DigitalRiver.js](https://docs.digitalriver.com/digital-river-api/developer-resources/reference/digital-river-publishable-api-key)
* [Getting compliance details](https://docs.digitalriver.com/digital-river-api-reference/digital-river-api-reference-guide/spaces/-LqH4RJfLVLuHPXuJyTZ/pages/q44XQrVd2HBDFcYGAcni#compliance.getdetails) on the [`DigitalRiver` object](https://docs.digitalriver.com/digital-river-api/developer-resources/reference/digitalriver-object) page
* [Compliance element](https://docs.digitalriver.com/digital-river-api/developer-resources/reference/elements/compliance-elements)
* [Localizing invoices and credit memos](https://docs.digitalriver.com/digital-river-api/integration-options/checkouts/creating-checkouts/designating-a-locale)
  {% endtab %}
  {% endtabs %}

The following are the supported values:

<table><thead><tr><th width="198">Language</th><th>Value</th></tr></thead><tbody><tr><td>Arabic</td><td><code>ar</code></td></tr><tr><td>Chinese Hong Kong</td><td><code>zh-hk</code></td></tr><tr><td>Chinese Simplified</td><td><code>zh-cn</code></td></tr><tr><td>Chinese Taiwan</td><td><code>zh-tw</code></td></tr><tr><td>Czech</td><td><code>cs</code></td></tr><tr><td>Danish</td><td><code>da</code></td></tr><tr><td>Dutch</td><td><code>nl</code></td></tr><tr><td>English</td><td><code>en</code></td></tr><tr><td>British English</td><td><code>en-gb</code></td></tr><tr><td>Finnish</td><td><code>fi</code></td></tr><tr><td>French</td><td><code>fr</code></td></tr><tr><td>French Canadian</td><td><code>fr-ca</code></td></tr><tr><td>German</td><td><code>de</code></td></tr><tr><td>Greek</td><td><code>el</code></td></tr><tr><td>Hungarian</td><td><code>hu</code></td></tr><tr><td>Italian</td><td><code>it</code></td></tr><tr><td>Japanese</td><td><code>ja</code></td></tr><tr><td>Korean</td><td><code>ko</code></td></tr><tr><td>Norwegian</td><td><code>no</code></td></tr><tr><td>Polish</td><td><code>pl</code></td></tr><tr><td>Portuguese</td><td><code>pt</code></td></tr><tr><td>Portuguese Brazil</td><td><code>pt-br</code></td></tr><tr><td>Russian</td><td><code>ru</code></td></tr><tr><td>Slovak</td><td><code>sk</code></td></tr><tr><td>Spanish</td><td><code>es</code></td></tr><tr><td>Latin American Spanish</td><td><code>es-419</code></td></tr><tr><td>Swedish</td><td><code>sv</code></td></tr><tr><td>Thai</td><td><code>th</code></td></tr><tr><td>Turkish</td><td><code>tr</code></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digitalriver.com/digital-river-api-reference/digital-river-api-reference-guide/supported-languages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
