alt

Important information

Please be advised that there will be a scheduled downtime across our API network on November 05 and November 07, 2024. For more information, visit our platform status portal.:
- Scheduled maintenance on November 5, 2024
- Scheduled maintenance on November 7, 2024

Unzer

Localization (v2)

Beta

Learn more about all possible languages and formats.

Unzer UI components support localization with the locale parameter. You can set it when initializing the <unzer-payment> component on the client side. If no value is passed, then the client’s browser language is used.

<unzer-payment
        id="unzer-payment"
        publicKey="s-pub-xyz"
        locale="de-DE">
</unzer-payment>
curl --location --request GET 'https://api.unzer.com/v1/customers/s-cst-65b81db7b68f' --header 'Accept-Language: de-DE' -u 's-priv-xxxxxxxxxx'
$unzer = new UnzerSDK\Unzer('s-priv-xxxxxxxxxx', 'de-DE');
Unzer unzer = new Unzer("s-priv-xxxxxxxxxx", Locale.GERMANY);

Supported Languages

Integration typeParameterLanguage list
JavaScript UI Components v2/
Payment Pages v2
localeDefault: browser language/en (en-US)
German: de, de-DE
Dutch: nl, nl-NL
English: en (en-US), en-GB
Danish: da
Unzer API/SDKaccept language headerDefault value: en (en-US)
Czech: cs, cs-CZ
Dutch: nl, nl-NL
English: en, en-US, en-GB
French: fr, fr-FR
German: de, de-DE
Italian: it, it-IT
Polish: pl, pl-PL
Portuguese: pt, pt-PT
Slovakian: sk, sk-SK
Spanish: es, es-ES
icon
Format of the locale values
The locale values are not case sensitive.