The locale property is a combination of language and region codes: e.g. sv-SE
or es-ES
. The language code is based on ISO-639 standard, while the region code is based on ISO-3166 standard. It serves two purposes:
Translate the widget's text and forms to the selected language.
Specify the catalog from which we should fetch data for assigned products, such as the product titles, product links and the product price's currency.
You can check your Catalog's locales under the platform's "Catalogs" section:
In order to display product information in the correct language and currency, you need to make sure that your widget is using a Locale value (language and region) that matches the existing Locale in the Catalogs in your Flowbox account.
How to change the language in the widget
Changing the language in Ratings and Review Widgets is done by changing the value of the locale
property in the embed code. The locale needs to have both a language and a region code to work correctly: e.g. en-EU
(language: English - region: Europe) or sv-SE
(language: Swedish - region: Sweden).
In order for the widgets to be properly translated, you need to ensure that the locale property matches the locale codes that are set up in your Flowbox Catalogs:
<div id="js-flowbox-flow"></div>
<script>
window.flowbox('init', {
container: '#js-flowbox-flow',
key: 'YOUR FLOW KEY',
locale: 'language-COUNTRY'
})
</script>
How to change the language in the Dynamic Links
Changing the language in Dynamic is done by changing the value of the locale property in the Link.
Our Supported Languages
Bulgarian | Czech | Danish |
Dutch | English | Finnish |
French | German | Greek |
Hungarian | Italian | Latvian |
Lithuanian | Norwegian | Polish |
Portuguese | Romanian | Spanish |
Swedish |
|
|
If you pass in a locale for an unsupported language, the widget's buttons and text will be displayed in English by default.
Our Supported Regions
Australia: | Austria: | Belgium: | Bulgaria: |
Brazil: | Canada: | Chile: | China: |
Colombia: | Costa Rica: | Croatia: | Cyprus: |
Czechia: | Denmark: | Egypt: | Estonia: |
Europe: | Finland: | France: | Germany: |
Greece: | Hong Kong: | Hungary: | India: |
Indonesia: | Ireland: | Israel: | Italy: |
Japan: | Latvia: | Lebanon: | Lithuania: |
Luxembourg: | Macau: | Malta: | Mexico: |
Monaco: | Morocco: | Netherlands: | New Zealand: |
Norway: | Philippines: | Poland: | Portugal: |
Qatar: | Romania: | Russia: | Saudi Arabia: |
Singapore: | Slovakia: | Slovenia - | South Africa: |
South Korea: | Spain: | Sweden: | Switzerland: |
Taiwan: | Thailand: | Turkey: | United Arab Emirates: |
United Kingdom: | United States: |
|
|