> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-wallets-docs-2-5.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Currency & Language Localization

> Sell to anyone, anywhere

Translate the checkout to the user's language and allow them to pay on their local currency.

<Note>
  The default checkout is on English and USD. Crossmint will automatically detect the location of the buyer and adjust
  language and currency accordingly, unless otherwise specified by you.
</Note>

## Currencies and Languages Available

| Variable   | Possible Values                                                                                                                   | Description                         |
| ---------- | --------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| `locale`   | `en-US` `de-DE` `es-ES` `fr-FR` `it-IT` `ja-JP` `ko-KR` `pt-PT` `ru-RU` `th-TH` `tr-TR` `uk-UA` `vi-VN` `zh-CN` `zh-TW` `Klingon` | Language displayed to the user      |
| `currency` | `USD` `AUD` `EUR` `GBP` `HKD` `INR` `JPY` `KRW` `SGD` `VND`                                                                       | Fiat currency displayed to the user |

## How to Adjust the Currency and Language

To adjust the currency and language, set the `locale` and `currency`
props of the `CrossmintPayButton`, as shown in the example below:

<Tabs>
  <Tab title="Hosted Checkout Button">
    <CodeGroup>
      ```javaScript React theme={null}
      <CrossmintPayButton
          projectId="_YOUR_PROJECT_ID_"
          collectionId="_YOUR_COLLECTION_ID_"
          mintConfig={{
              // your mint config args
          }}
          locale="es-ES"
          currency="EUR"
      />
      ```

      ```javascript Vanilla JS theme={null}
      <crossmint-pay-button
          projectId="_YOUR_PROJECT_ID_"
          collectionId="_YOUR_COLLECTION_ID_"
          mintConfig="{
              // your mint config args
          }"
          locale="es-ES"
          currency="EUR"
      />
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Embedded Checkout">
    <CodeGroup>
      ```javaScript React theme={null}
      <CrossmintPaymentElement
          projectId="_YOUR_PROJECT_ID_"
          collectionId="_YOUR_COLLECTION_ID_"
          mintConfig={{
              // your mint config args
          }}
          locale="es-ES"
          currency="EUR"
      />
      ```

      ```javascript Vanilla JS theme={null}
      <crossmint-payment-element
          projectId="_YOUR_PROJECT_ID_"
          collectionId="_YOUR_COLLECTION_ID_"
          mintConfig="{
              // your mint config args
          }"
          locale="es-ES"
          currency="EUR"
      />
      ```
    </CodeGroup>
  </Tab>

  <Tab title="Headless Checkout">
    <CodeGroup>
      ```json JSON theme={null}
      {
          "locale": "en-US", //change the value as per your requirements
          "payment": {
              "method": "stripe-payment-element",
              "currency": "usd" //change the value as per your requirements
          }
      }
      ```
    </CodeGroup>
  </Tab>
</Tabs>
