Localization and languages
Universal Checkout supports multiple languages out of the box, enabling you to adapt its UI to the relevant market.Universal Checkout uses the device language by default. If this language is not supported, Universal Checkout automatically falls back to English.
Supported locales
| Language | Minimum versions |
|---|---|
| Arabic | v2.30.0 |
| Bulgarian | v2.30.0 |
| Catalan | v2.27.0 |
| Czech | v2.30.0 |
| Danish | v0.15.5 |
| German | v0.15.5 |
| Greek | v0.15.5 |
| English | v0.1.0 |
| Spanish | v0.15.5 |
| Spanish (Argentina) | v2.30.0 |
| Spanish (Mexico) | v2.30.0 |
| Estonian | v2.30.0 |
| Finnish | v2.27.0 |
| French | v0.15.5 |
| Hebrew | v2.27.0 |
| Croatian | v2.30.0 |
| Hungarian | v2.30.0 |
| Indonesian | v2.27.0 |
| Italian | v0.15.5 |
| Japanese | v2.30.0 |
| Korean | v2.27.0 |
| Lithuanian | v2.27.0 |
| Latvian | v2.30.0 |
| Malay | v2.19.2 |
| Norwegian | v0.15.5 |
| Dutch | v0.15.5 |
| Polish | v0.15.5 |
| Portuguese | v0.15.5 |
| Portuguese (Brazil) | v2.30.0 |
| Romanian | v2.30.0 |
| Russian | v2.30.0 |
| Slovak | v2.30.0 |
| Slovenian | v2.27.0 |
| Serbian | v2.27.0 |
| Swedish | v1.15.5 |
| Thai | v2.19.2 |
| Turkish | v0.15.5 |
| Ukrainian | v2.27.0 |
| Vietnamese | v2.30.0 |
| Chinese (Mainland China - Simplified characters) | v2.19.2 |
| [BETA] Chinese (Hong-Kong - Traditional characters) | v2.19.2 |
| [BETA] Chinese (Taiwan - Traditional characters) | v2.19.2 |
Right-to-left
Universal Checkout automatically switches to a right-to-left layout when necessary.Theme
To customize the appearance of the SDK, pass atheme mapping under uiOptions in PrimerSettings, for example:
JSON
mainColor and background to achieve a basic two-tone theme. Other properties can be used to override specific styles:
| Property | Description |
|---|---|
mainColor | The default primary color used to theme text and accents. |
background | The default background color for views. |
text | Overrides mainColor with a specific color for text labels. |
disabled | Overrides mainColor with a specific color for disabled buttons. |
error | A specific color for validation error label text. Red by default. |
borders | Overrides mainColor for button borders and view borders. |