Overview

Embed can be configured to use a different language using the locale property. By default, this will be set to en (English). Embed accepts a ISO 639-1 Language Code (e.g. en or fr) and an optional ISO 3166 Country Code (e.g. AU or GB). The country code allows us to provide a localized version of the language based on a specific country, e.g. fr-CA would represent Canadian French.

Usage

The locale can be set to any of the supported Locales. The locale property will fall back to English if a locale is not provided, is incorrect or not supported.

Embed currently does not automatically detect the buyer’s locale. The locale will always be set to en when not provided.

Locales

We currently support the following locales.

Locale NameLanguage Code (ISO 639-1)Country Code (ISO 3166)Locale
American EnglishenUSen-US
British EnglishenGBen-GB
Brazilian PortugueseptBRpt-BR
Croatianhrhr
Dutchnlnl
Frenchfrfr
Germandede
Indonesianidid
Italianitit
Malaymsms
Portugueseptpt
Romanianroro
Spanisheses
Thaithth