A locale is a set of parameters that defines the user’s language, region and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language code and a country/region code (e.g. en_US). A locale can be included to provide localized payment pages for the customer. Use the format ab_CD with ISO 639 language codes and ISO 3166 country codes. This will show the desired language for that customer (if supported by MultiSafepay) on both the payment page and the emails MultiSafepay sends. When left empty or with a unsupported value, en_US, meaning American English, is used.
In some cases, the locale is also used to show certain variants of payment methods, such as:
- CartaSi (it_IT needed)
- Cartes Bancaires (fr_FR needed)
- Dankort (da_DK needed)
- Postepay (it_IT needed).
The locale is also important for sending the correct email template to the customer. For example, if an email template is set for the German customer, but the locale is received as en_US, the email template will be sent in English and not in German.