How do I add translations for the widget texts using Translate & Adapt?

The Translate and Adapt app by Shopify is designed to help merchants easily localize their online stores for international markets. It offers both automatic and manual translation features.

Automatic translation

To create the widget translations automatically, select the desired language, and simply click on the "Auto-translate" button:

Manual translation

To create the widget translations manually, select the desired language, and look for the "Store metadata" section:

Once inside, look for the metafields starting with 'cbb_keep_and_share_your_cart' (if you can't find them, please visit this related article):

  1. In the first column, we can see the metafield names.
  2. In the second column, we can see the default translations provided on the app preferences pages.
  3. In the third column, we can create the desired translations.

Let's see an example: if no translations are created, the widget will display the default translations provided on the app preferences pages:

However, if we have added translations in the Translate and Adapt app, the widget will display those specific translations: