# Translate your pre-order storefront ![Translate storefront text window with Spanish selected, showing Product page fields next to their Spanish translations](https://docs-assets.foxecom.app/xflow-app/2cf8ad99-6884-4a08-aa96-27d71b6d857d.png) Show the Pre-order button, messages and badge in your shoppers' language. This article explains how storefront translation works, which text you can translate and how to add, translate and review each language. ## Before you start 1. Go to **Shopify settings > Languages**, then add and publish the languages you want to support. For details, see [Shopify's guide to managing languages](https://help.shopify.com/en/manual/international/languages/manage-languages). 2. Save any changes in the storefront editor. The **Translate** button stays disabled until all changes are saved. ## Translate the Pre-order widget 1. Go to **Pre-order > Settings**. 2. Click **Edit storefront**. 3. Click **Translate** at the top of the page to open the **Translate storefront text** window. 4. Click **+ Add language**. 5. Select a language from your Shopify store's published languages. The language appears under **Languages**, with the number of fields translated and the number still to review, for example **26 to review** and **0 of 26 translated**. If your store has only one published language, the window links to **Shopify settings > Languages**, where you can publish another language. ![Translate storefront text window with + Add language highlighted and Croatian added with 26 fields to review](https://docs-assets.foxecom.app/xflow-app/387e6cd6-aa85-41e6-acee-5c347f7e2944.png) Each field shows your original text and a box for its translation. Choose one of the following methods: | Translation method | How it works | | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | | **Translate all fields with AI** | Click **Translate N with AI** at the top of the window to translate all missing and outdated fields. Fields you edited manually stay unchanged. | | **Translate individual fields with AI** | Click **Translate with AI** under a field to translate only that field. | | **Translate manually** | Enter or edit the translation in the text box. |
When you finish, click **Save** at the bottom of the window. ![Croatian translation list with the Translate 26 with AI button and a field's Translate with AI link highlighted](https://docs-assets.foxecom.app/xflow-app/ba16eb28-6667-4c07-8494-0eb5fa29f27d.png) Keep every variable, such as `{Shipping info}` or `{Deposit amount}`, in the translation. XFlow can't save a translation that is missing a variable.
Use the filters to find the fields that need attention: | Filter | Shows | | ------------------- | -------------------------------------- | | **All** | Every field for this language. | | **Needs review** | Fields that are missing or outdated. | | **AI translated** | Fields translated with AI. | | **Edited manually** | Fields you entered or edited yourself. |
![Spanish translations with the All, Needs review, AI translated and Edited manually filters and each field's status label highlighted](https://docs-assets.foxecom.app/xflow-app/7e73d216-4862-44ae-ab62-a59427dda380.png)
Open your store in each translated language and check the product page, a collection page and the cart.
## Which text can and cannot be translated ### Text you can translate in XFlow The Translate storefront text window allows you to translate pre-order text, grouped by where it appears on your storefront: * **Product page:** The Pre-order button, messages below the button, and purchase option labels. * **Collections and product cards:** The pre-order badge and card button. * **Cart:** The pre-order notice and cart note. * **Shipping and payment phrases:** Phrases that XFlow adds to your messages, such as "Ships by" and "Pay in full at checkout". Optional messages that you leave empty are not displayed on your storefront and do not appear in the translation window. ### Text you cannot translate in this window The following text is not managed in the Translate storefront text window. You can translate it using the corresponding tools or settings below. | Text | Where to translate it | | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | **Purchase option names in the cart, checkout and order status page** | [Shopify's ](https://apps.shopify.com/translate-and-adapt)[Translate & Adapt](https://apps.shopify.com/translate-and-adapt)[ app](https://apps.shopify.com/translate-and-adapt). | | **Product names, variants and descriptions** | Shopify's Translate & Adapt app or your translation app. | | **Theme and other app text**, such as **Add to cart** | Your theme's language settings or the app that adds the text. | | **Pre-order emails** | The email translation settings. For details, see [Set up pre-order emails](https://docs.foxecom.com/xflow-app/pre-order/set-up-pre-order-emails). |
The **Pre-order discount** label at checkout can't be translated. ## Keep translations up to date When you change your original text in the storefront editor, XFlow marks the related translations as **Outdated** and lists them under **Needs review**. Your store keeps showing the previous translation until you update it. To update outdated fields, click **Translate with AI**, or edit each field manually, then click **Save**. ## Remove a language 1. Click the trash icon on the language card. 2. Click **Delete** to confirm. Removing a language deletes all its pre-order storefront translations. Shoppers browsing in that language see your original text instead. ![Remove Spanish? confirmation dialog with the Delete button, opened from the trash icon on the language card](https://docs-assets.foxecom.app/xflow-app/fb96903d-ca74-4da2-932c-6c3eff0ffb20.png) If you unpublish a language in Shopify instead, XFlow keeps its translations but hides the language from the window and your store. ## FAQs The storefront editor has unsaved changes. Click **Save** at the top of the page, then click **Translate**. The primary language always shows your original text, so it doesn't need a translation. To change that text, edit it in the storefront editor. No. **Translate with AI** translates only missing and outdated fields. Fields you edited manually stay unchanged. A variable, such as `{Shipping info}`, is missing from the translation. Add the variable back exactly as it appears in the original text, then click **Save**. XFlow translates purchase option labels on the product page only. Purchase option names in the cart, checkout and order status page come from Shopify. Translate them with [Shopify's Translate & Adapt app](https://apps.shopify.com/translate-and-adapt). ## Related articles Customize how pre-orders look on your store Set up pre-order emails