Translate your options widget
If your store sells in more than one language, you can translate the text the options widget shows to customers. This feature is available on the Pro plan.
Translations cover the widget's built-in text, such as validation messages ("This field is required") and interface labels, so shoppers see them in their own language.
The Tips list in the Add translation window shows the widget's built-in texts you can translate. It includes the Dimension texts (Width, Height, Length, "Enter all dimensions", and "Enter a number greater than 0") and the messages shown when Add to cart is blocked (see below).
Translate the widget
- In the app, go to Translations (also reachable from Settings, via the Manage translations button).
- Click Add translation.
- In Default text, enter the text exactly as the widget shows it. The Tips list in the same window shows the built-in texts.
- Enter the translation for each of your store's languages, then click Add.
- Click Save.
Each text you add becomes a row on the Translations page, with a column for each language, so you can change a translation there later.
Messages when Add to cart is blocked
When Optionize stops an Add to cart, it hands your theme a short message. Themes that show cart errors print it, usually near the button. Where and how it appears depends on your theme. The widget also keeps showing its own message next to the option that needs attention.
| Message | When it shows |
|---|---|
| "Please check the product options" | An option still needs attention, for example a required option is empty |
| "Please wait for the file to finish uploading" | A file is still uploading. See Collect file uploads from customers |
| "Something went wrong. Please try again." | Optionize couldn't add the shopper's options to the cart |
| "Choose your options on the product page" | A shopper used quick-add on a collection or search page for a product with a required option, and is being sent to the product page |
Add any of these texts in Add translation to show them in your shoppers' language. Before widget version 2.10.1, some themes showed "undefined" here instead.
Related settings
- App language in Settings changes the language of the Optionize admin interface that you see, not what customers see.
- Your option labels and values are written by you, so write them in your store's language directly when you build the option set.
Still stuck? Message us from the chat in the app and we'll help.