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

Learn more about all possible languages and formats.

Unzer UI components support localization with the locale parameter. You can set it on initialization on the client side. If no value is passed, then the client’s browser language is used.

// Creating an unzer instance with your public key
var unzerInstance = new unzer('s-pub-xxxxxxxxxx', {locale: 'de-DE'});
<unzer-payment
        id="unzer-payment"
        publicKey="s-pub-xxxxxxxxxx"
        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/
Payment Pages
localeDefault: browser language/en (en-US)
Bulgarian: bg
Croatian: hr, hr-HR
Czech: cs, cs-CZ
Danish: da
Dutch: nl, nl-NL
English: en (en-US), en-GB
Estonian: et
Finnish: fi
French: fr, fr-FR
German: de, de-DE
Greek: el
Hungarian: hu, hu-HU
Italian: it, it-IT
Latvian: lv
Lithuanian: lt
Polish: pl, pl-PL
Portuguese: pt, pt-PT
Romanian: ro, ro-RO
Russian: ru
Slovakian: sk, sk-SK
Slovenian: sl
Spanish: es, es-ES
Swedish: sv
Turkish: tr, tr-TR
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.