Location
The checkout API and interface supports several languages, you can choose in which language you want to interact.
To choose the language you must send the locale
parameter in the requests you make, this is also the initial language that the session will have.
{
"locale": "es_CO",
...
}
The locale
parameter is a string containing the locale code, for example es_CO
. It is an optional parameter, if it is not sent or does not comply with the previously described standards, the locale and country of the site that is creating the session will be taken by default.
Examples:
This parameter is made up of the language code according to the standard ISO 631-1, followed by an underscore _
and 2 letters corresponding to the country according to the standard ISO 3166-1 alpha-2.
Currently the languages are supported: Spanish, English, Portuguese and Italian.