> For the complete documentation index, see [llms.txt](https://document.tek-labs.app/salepify-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/salepify-userguide/user-guides/translation.md).

# Translation

Edit and translate every text your widgets show.

Open **Translations** in the app menu, or **More actions › Edit default text** from any offer.

## Choose a language

<figure><img src="https://2782088585-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyTxhG4dtLtoZ8LGb73m7%2Fuploads%2Fgit-blob-d6b4833f0aa818d5b1c373f48c2bce515f18acd6%2Fsp-translation-list.png?alt=media" alt="Translations: languages"><figcaption></figcaption></figure>

The **Languages** card lists every language **published in your Shopify store**. Your primary language has the **Default** badge. Click **Edit** next to a language to edit its texts.

{% hint style="info" %}
To add a language, add and publish it in **Shopify admin › Settings › Languages** first. It then appears here automatically.
{% endhint %}

## Edit the texts

<figure><img src="https://2782088585-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyTxhG4dtLtoZ8LGb73m7%2Fuploads%2Fgit-blob-d01a158bb08e3d5ee6742f7fb315d37271eeea3a%2Fsp-translation-edit.png?alt=media" alt="Edit English text"><figcaption><p>Rule selector and a text section with live preview</p></figcaption></figure>

1. Pick a widget tab: **Embedded Gift**, **Popup Gift**, **Gift In Cart**, **Progress bar**, **Product bundle**, **Volume Discount**, **Notification**, **You may also like**, **Today Offers** or **Discount code**. On smaller screens the last tabs are under **More views**.
2. For widgets that belong to an offer, choose the offer in **Rule selected**. Texts are saved **per offer**, so each campaign can have its own messages. Fields marked **(apply to all rules)** are shared by every offer.
3. Edit the fields on the left. The preview on the right updates as you type.
4. Click **Insert variables** under a field to add dynamic values, such as the amount left to spend.
5. Click **Save**.

To restore the original texts of a section, open its **…** menu and choose **Reset to default**.

## Variables

| Variable                                                         | Shows                                                                                |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| `{{condition}}`                                                  | The condition value set in the offer.                                                |
| `{{remain}}`                                                     | The number of items still needed to meet the condition.                              |
| `{{amount}}`                                                     | The amount still needed to reach the reward.                                         |
| `{{gift_number}}`                                                | The number of gifts the customer will receive.                                       |
| `{{gift_selected}}`                                              | The number of gifts selected.                                                        |
| `{{gift_remain}}`                                                | The remaining quantity of the selected gift.                                         |
| `{{customer_buys}}`                                              | The items needed to meet the condition.                                              |
| `{{product}}` / `{{name}}`                                       | The product name / the free gift name.                                               |
| `{{discount}}` / `{{%}}`                                         | The discount value / discount percentage.                                            |
| `{{discount_badge}}`                                             | The content of the discount badge.                                                   |
| `{{timer}}`                                                      | The countdown, in the offer's timer format.                                          |
| `{{offer_count}}` / `{{offer_counts}}`                           | The number of active / available offers.                                             |
| `{{offer_ready_to_claim}}`                                       | The number of offers ready to claim.                                                 |
| `{{title}}` / `{{goal}}`                                         | Progress bar: the reward title / the amount or quantity left to reach the milestone. |
| `{{quantity}}`, `{{discount_percentage}}`, `{{discount_amount}}` | Volume discount tier values.                                                         |
| `{{number}}`                                                     | Product bundle: the number of items in the bundle.                                   |
| `{{count}}`                                                      | You may also like: the number of items in the widget.                                |

The **Insert variables** list shows only the variables available for each field.

## What you can edit in each tab

| Tab                   | Sections                                                                                                                                                                                                          |
| --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Embedded Gift**     | General, Header, Upsell message (not eligible, eligible, claimed), Main offer (countdown, "Free", select, unselect and claim buttons), Selection hint, Caption, Toast/Error message.                              |
| **Popup Gift**        | Depends on the popup layout. Header (apply to all rules), offer title and reward-selection text, upsell messages, discount badges, buttons, warning message, gift icon text, and the banner shown after claiming. |
| **Gift In Cart**      | General (apply to all rules), Progress bar messages, Manual claim (title, subtitle, "Select your gift", gift count, Add to cart button), Discount badge.                                                          |
| **Progress bar**      | Text for each milestone (title, before and after achieving it), buttons for automatic and manual reward claiming, Gift modal texts, Countdown timer labels.                                                       |
| **Product bundle**    | Header (apply to all rules), tag, "Viewing product", Add to cart and Sold out; bundle page texts.                                                                                                                 |
| **Volume Discount**   | Block header, Add to cart button, free gift title, and each tier's title, label, tag and Buy X get X text.                                                                                                        |
| **Notification**      | Header text and body text (shared by all offers).                                                                                                                                                                 |
| **You may also like** | Header, Add to cart button, Added button, eyebrow and item count.                                                                                                                                                 |
| **Today Offers**      | Widget tab title, offer card texts, a custom title for each active offer, price labels, Claim gift button and warning message.                                                                                    |
| **Discount code**     | Floating button description, popup header and Copy button, Discount box title, Apply button and placeholder, manual gift selection texts.                                                                         |

{% hint style="warning" %}
For **Progress bar**, the milestone titles are saved to the offer itself. If you add or remove milestones in the offer, check this tab again.
{% endhint %}
