> For the complete documentation index, see [llms.txt](https://document.tek-labs.app/bundle-userguide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.tek-labs.app/bundle-userguide/user-guide/text-and-translations.md).

# Text & translations

Customize every label shoppers see and translate it into other languages

Every campaign has a **Text** step (step 3) where you can rewrite the labels, buttons and messages your shoppers see, and translate them into other languages.

<figure><img src="https://2931535135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNiaMhy4iUdGEcXTDg3qg%2Fuploads%2Fgit-blob-c7cd340e638eda92afe9b948c6d9bf36449290ff%2Fmm-mnm-text-locales.jpg?alt=media" alt="Text &#x26; Locales"><figcaption></figcaption></figure>

## Edit text

1. Open a campaign and click **Step 3 Text**.
2. Change any field. The preview on the right updates immediately.
3. Click **Save** in the **Unsaved changes** bar.

## Use variables

Some labels contain **variables** in square brackets, such as `[remaining]` or `[discount_amount]`. The app replaces them with real values on the storefront — for example, "Buy \[remaining] more to unlock the next reward" becomes "Buy 1 more to unlock the next reward".

Click **Insert variable** under a field to see the variables that field supports and add one at the cursor position.

<figure><img src="https://2931535135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNiaMhy4iUdGEcXTDg3qg%2Fuploads%2Fgit-blob-ffe658cdfca6def1577777d5516fe875f6fb1eff%2Fmm-insert-variable.jpg?alt=media" alt="Insert variable"><figcaption></figcaption></figure>

Commonly used variables:

| Variable                                    | Shows                                                                                                                                                                                                    |
| ------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `[remaining]`                               | The number of products left to reach the next reward tier.                                                                                                                                               |
| `[min_condition]`                           | The minimum quantity required to reach a tier.                                                                                                                                                           |
| `[discount_amount]`                         | The discount value, e.g. 10% or $10.                                                                                                                                                                     |
| `[shipping_discount_amount]`                | The value of the shipping discount.                                                                                                                                                                      |
| `[discounted_quantity]` / `[paid_quantity]` | In a Mix & Match or Bundle Builder tier with **Only the cheapest items**: how many items get the discount, and how many are paid in full. "Buy \[min\_condition], pay \[paid\_quantity]" → Buy 4, pay 2. |
| `[quantity]`                                | The number of items the discount applies to.                                                                                                                                                             |
| `[unit_price]` / `[original_unit_price]`    | In Volume Discount: the price per item after and before the discount, e.g. $8.00 and $10.00.                                                                                                             |
| `[saved_amount]` / `[saved_percentage]`     | In Volume Discount tier text: the amount and percentage saved on the tier, e.g. $6.00 and 20%.                                                                                                           |
| `[options]`                                 | In the Volume Discount variant picker: the product's option names, e.g. size & color.                                                                                                                    |
| `[count]`                                   | A number of items, e.g. in "You can buy only \[count] items".                                                                                                                                            |
| `[item_count]`                              | How many products a Fixed Bundle contains.                                                                                                                                                               |
| `[amount]`                                  | The money saved on a Fixed Bundle, in your store's currency.                                                                                                                                             |
| `[missing]` / `[group]`                     | In Bundle Builder: what's still missing, and in which category.                                                                                                                                          |
| `[max]` / `[selected_count]`                | In Bundle Builder: the gift limit and how many gifts are selected.                                                                                                                                       |

{% hint style="info" %}
Keep the square brackets exactly as they are. If you change or remove a variable, the real value won't be shown.
{% endhint %}

## Add a language

1. Click **+** next to the language tabs (for example next to **English**).
2. Choose a language from the list.
3. Fill in the translated text for each field.
4. Click **Save**.

<figure><img src="https://2931535135-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNiaMhy4iUdGEcXTDg3qg%2Fuploads%2Fgit-blob-08fca4f6f0d6e3b6d11e02630ef4a188de4e3891%2Fmm-add-locale.jpg?alt=media" alt="Add a language"><figcaption></figcaption></figure>

On the storefront, the widget automatically shows the text that matches the shopper's store language. If there is no translation for that language, **English** is used.

{% hint style="warning" %}
**English** is required and can't be deleted. To remove another language, open its tab and click the trash icon.
{% endhint %}
