# Localizing invoices and credit memos

To control how [purchase invoices and credit memos](https://docs.digitalriver.com/digital-river-api/order-management/accessing-invoices-and-credit-memos) are localized, you can define the checkout's [`language`](#language) or its [`locale`](#locale).

## Language

If you send a [supported `language`](#supported-languages) in a [create](https://app.gitbook.com/s/x8fSFzVR3sg0TsNWwwVz/checkouts#checkouts-1) or [update checkout request](https://app.gitbook.com/s/x8fSFzVR3sg0TsNWwwVz/checkouts#checkouts-id-1), then Digital River maps it to one of our [supported locales](#supported-locales) and uses that value to set the [checkout's ](https://app.gitbook.com/s/x8fSFzVR3sg0TsNWwwVz/checkouts)[`locale`](#locale).

### Supported languages

For a list of accepted values, refer to [Supported languages](https://app.gitbook.com/s/ZrhMyLX5esFYS64lNWVW/digital-river-api-reference-guide/supported-languages).

## Locale

At the time of order creation, Digital River uses the [checkout's](https://app.gitbook.com/s/ScJM6Hp95yBCPfU1nBSB/checkouts) `locale` to set that same attribute in the [order](https://app.gitbook.com/s/x8fSFzVR3sg0TsNWwwVz/orders), determining how [purchase invoices and credit memos](https://docs.digitalriver.com/digital-river-api/order-management/accessing-invoices-and-credit-memos) are localized.

The default value is `en-US`.

### Supported locales

The following table lists all the `locale` values, which combine a two-letter [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) language code with an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code that Digital River supports:

| Locale  | Language  | Country                   |
| ------- | --------- | ------------------------- |
| `fr_BE` | French    | Belgium                   |
| `fr_CH` | French    | Switzerland               |
| `fr_FR` | French    | France                    |
| `fr_CA` | French    | Canada                    |
| `it_CH` | Italian   | Switzerland               |
| `it_IT` | Italian   | Italy                     |
| `nl_BE` | Dutch     | Belgium                   |
| `nl_NL` | Dutch     | Netherlands               |
| `no_NO` | Norwegian | Norway                    |
| `pl_PL` | Polish    | Poland                    |
| `ja_JP` | Japanese  | Japan                     |
| `ro_RO` | Romanian  | Romania                   |
| `ko_KR` | Korean    | Korea                     |
| `zh_CN` | Chinese   | China                     |
| `zh_TW` | Chinese   | Taiwan, Province of China |
| `cs_CZ` | Czech     | Czechia                   |
| `da_DK` | Danish    | Denmark                   |
| `fi_FI` | Finnish   | Finland                   |
| `de_AT` | German    | Austria                   |
| `de_CH` | German    | Switzerland               |
| `de_DE` | German    | Germany                   |
| `es_ES` | Spanish   | Spain                     |
| `sv_SE` | Swedish   | Sweden                    |
| `en_US` | English   | United States             |
