Setting Multilingual Widget

Create a widget on your site that will be displayed in the user's language.

The system checks the following to determine the user's language:

  • the lang attribute in the HTML code of the site;
  • if the lang attribute isn't set, the system checks the language of the user's browser;
  • the system will use the default language version if the user's language doesn't match the specified widget languages.

Multilingual Settings

  1. Go to Site → Widgets and select the widget type from the drop-down list.
Widgets page with the New Web Widget dropdown open, listing subscription form, informer, request form, launcher, and age gate options.
  1. When editing the widget appearance, click the globe icon on the top panel and specify the default language. The system will display it if the user's language is not defined.
Widget editor showing a subscription form with the globe icon dropdown highlighted and a tooltip reading Specify the default language.
  1. Click on the default language code and add the language version.
Widget editor language dropdown showing English as the main language and the Add a language button highlighted under Localization.
  1. Translate the widget texts into the appropriate language. Other elements in the language versions remain the same as in the default version.
Widget editor showing the Spanish language version of the subscription form with translated heading, fields, and Suscribirse button.
šŸ“˜

Note

When you add a language, the system automatically creates a copy of the widget you are editing at the moment. So if you edit the widget in Polish, the system will duplicate this widget but not a copy of the widget in the default language. This feature simplifies work with languages belonging to the same language group.

To switch between languages, use the drop-down list. You can replace any language, remove it, or set it as default.

Widget editor Localization panel showing Spanish added, with a highlighted menu offering to replace, set as default, or remove the language.

The number of language versions you can create is limited only by the pricing package.

The publication process of the multilingual widget is standard (see instructions).

Displaying Multilingual Widgets in Account

Multilingual widgets in the lists are marked with a globe icon. The number next to the widget’s name indicates the number of its language versions.

Widgets list showing the Purchases widget with a globe icon and the number 2 highlighted, indicating two language versions.

Hover over the icon to see the list of added languages. You can edit the necessary widget by clicking the corresponding language in the drop-down list.

Widgets list with the globe icon dropdown open for the Purchases widget, showing English and Spanish language options highlighted.

Did this page help you?