Localization
Localization is a crucial aspect of providing a seamless shopping experience for customers around the globe. The Shop Pay Wallet API supports localization to ensure that customers can interact with the checkout process in their preferred language.
Anchor to Setting the LocaleSetting the Locale
To set the locale, include the locale parameter when configuring the Shop Pay Payment Request. The locale parameter expects a valid ISO language code, with some locales followed by an ISO country code. See the Supported Locales List section for the full list.
If no locale is provided or if the provided locale is invalid, the default locale will be set to English (en).
If no locale is provided or if the provided locale is invalid, the default locale will be set to English (en).
Anchor to Supported Locales ListSupported Locales List
The following locales are supported by the Shop Pay Wallet API:
| Locale Code | Language |
|---|---|
cs | Czech |
da | Danish |
de | German |
en | English (Default) |
es | Spanish |
fi | Finnish |
fr | French |
hi | Hindi |
it | Italian |
ja | Japanese |
ko | Korean |
ms | Malay |
nb | Norwegian Bokmål |
nl | Dutch |
pl | Polish |
pt-BR | Portuguese - Brazil |
pt-PT | Portuguese - Portugal |
sv | Swedish |
th | Thai |
tr | Turkish |
zh-CN | Chinese - Simplified |
zh-TW | Chinese - Traditional |