> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🌍 Post Purchase Upsell — Translation

Hoppy Post Purchase Upsell lets you translate the customer-facing texts of your offer, so shoppers see the offer in their own language ✨

---

# **🌐 Before Adding Translations**

A language must already exist in your Shopify store settings before you can translate into it.

The app reads the languages configured in:

→ **Shopify Admin → Settings → Languages**

Only languages added there (other than your primary language) appear in the app.

ℹ️ Inside the app, the link **Add languages in Shopify Settings to translate.** takes you straight to your store's languages page.

If no extra language exists, the **Add translation** button is disabled.

---

# **🔤 What Can Be Translated**

In the **Translations** card at the bottom of the **Design** tab, each translation can include:

* **Title**
* **Button text**
* **Decline button text**
* **Accepted offer title**
* **Accepted offer subtitle**
* **Declined offer title**
* **Declined offer subtitle**

The accepted and declined fields apply to follow-up offers. See **How to Add a Follow-Up Offer After Accept or Decline**.

---

# **➡️ How to Add a Translation**

➡️ Open your upsell and go to the **Design** tab
➡️ Scroll to **Translations** and click **Add translation**
➡️ Choose the language under **Select language**
➡️ Fill in the translated texts
➡️ Click **Confirm translation**
➡️ Click **Save** in the save bar

🌍 Languages that already have a translation are removed from the language list, so each language can be added once.

---

# **✏️ Edit or Delete a Translation**

Each added language is listed in the Translations card with a **...** menu:

* **Edit translation** → update the texts, then **Confirm translation**
* **Delete** → confirm in the **Delete translation?** dialog ("Are you sure you want to delete this translation?")

Remember to click **Save** afterwards.

---

# **🧠 How the Right Language Is Chosen**

1. The app reads the customer's language on the checkout.
2. It looks for a translation with the **same locale** (for example `fr-CA`).
3. If there is none, it looks for the **same language** (a `fr` translation is used for `fr-CA`).
4. If nothing matches, the original texts from the **Design** tab are used.

If a single translated field is left blank, that field falls back to the **Design** tab text, while the other translated fields are still used.

---

# **✅ Expected Result**

A customer using a translated language sees your translated title, buttons and follow-up texts. Everyone else sees your default texts.

---

# **📌 Important Notes**

* Your store's primary language does not need a translation. It uses the Design tab texts.
* Product names and variant names are shown as they were saved from your Shopify products when you added them to the offer. They are not part of the translations card and the app does not translate them.
* The **Discount label** (for example "SAVE 15%") is edited per product and is not part of the translations card, so it shows the same text in every language.
* The language of the app's admin screens is separate. You can change it from **Settings** in the app navigation, under **Language**. This does not affect what customers see.
* Translations are only stored after you click **Save**.

---

# **🛠️ Troubleshooting**

* **My language is not in the list** → Add it in Shopify under **Settings → Languages** first, then reopen the upsell.
* **The translation does not show** → Make sure you clicked **Save**, the upsell is **Published**, and the customer's checkout language matches the translation. Wait a few minutes, since offer data is cached for about 5 minutes.
* **Part of the text is in the default language** → That field was probably left empty in the translation.

---

# **🎉 Final Result**

Your Post Purchase offer now speaks your customers' language 🌍