Languages & Fiat Currencies
With Crossmint, you can customize the language and fiat currency that your customers will see. We will be adding more languages and currencies in the future, but we currently support English or Spanish, and USD or EUR.
SDK Version 0.2.6-alpha.3 or later is required
Be sure to use SDK version 0.2.6-alpha.3 or later to use these variables.
No Action, No Problem
If no variables are set, the end-user's browser settings will be used (if they can be detected). In the case they aren't detected, English and USD will be used as default.
PaymentMethod | Variable | Values | Description |
---|---|---|---|
All | locale | en-US, es-ES | Language in which the payment flow will be displayed |
fiat | currency | USD, EUR, GBP, AUD, SGD, HKD | Currency in which the credit card payment flow will be displayed |
Language Example
<CrossmintPayButton
projectId="_YOUR_PROJECT_ID_"
collectionId="_YOUR_COLLECTION_ID_"
mintConfig={{
// your mint config args
}}
locale="es-ES"
/>
<crossmint-pay-button
projectId="_YOUR_PROJECT_ID_"
collectionId="_YOUR_COLLECTION_ID_"
mintConfig='{
// your mint config args
}'
locale="es-ES"
/>

Displaying the Continue button in Spanish.
Currency Example
<CrossmintPayButton
projectId="_YOUR_PROJECT_ID_"
collectionId="_YOUR_COLLECTION_ID_"
currency="EUR"
/>
<crossmint-pay-button
projectId="_YOUR_PROJECT_ID_"
collectionId="_YOUR_COLLECTION_ID_"
currency="EUR"
/>

Denoting prices in Euro.
Updated about 2 months ago