This recipe walks you through translating an entire WooCommerce store from scratch — from initial setup to a fully multilingual shopping experience. Follow these steps in order for the smoothest process.
Prerequisites
Before you begin, make sure you have:
- WordPress installed with WooCommerce active and configured (products, categories, pages, and payment methods already set up)
- Lang Forge PRO installed and activated with a valid license
- A plan for which languages you want to support (this recipe uses English as default and Spanish as the target language, but the steps apply to any language pair)
- Sufficient AI credits if you plan to use AI translation (check your balance in the credit chip in the Lang Forge admin header)
Phase 1: Configure Lang Forge for WooCommerce
- Go to Lang Forge > Languages
- Confirm your default language is correct (English in this example)
- Use the Add a language… search field below the Active Languages table to add Spanish (or your target languages) — type the name and pick from the dropdown
- Go to Lang Forge > Settings, scroll down to URL Settings, and select Directory (recommended for stores)
- Continue to the Translatable Post Types part of the Content & Notifications card and check the following boxes (every public post type has one):
- Pages
- Posts (if you have a blog)
- Products
- Click Save Settings
- Go to Settings > Permalinks and click Save Changes without changing anything (this refreshes the URL rewrite rules)
Phase 2: Translate WooCommerce Core Pages
These are the foundational pages that every WooCommerce store depends on. Translate them first because the cart, checkout, and account flows will not work in the target language without them.
- Go to Pages > All Pages
- Find the Shop page and open it in the editor
- In the Language metabox, click + Create in the Spanish row
- In the new draft, translate the page title (e.g., “Shop” becomes “Tienda”)
- The WooCommerce shortcodes in the page content are handled automatically — do not change them
- Click Publish
- Repeat steps 9 through 13 for the Cart page (translate the title, e.g., “Carrito”)
- Repeat for the Checkout page (e.g., “Finalizar Compra”)
- Repeat for the My Account page (e.g., “Mi Cuenta”)
- Repeat for the Terms and Conditions page if you have one
Phase 3: Translate Product Categories and Attributes
- Go to Products > Categories
- Add the Spanish version of each category yourself, as an ordinary category with its own translated name, slug, and description: fill in the Add New form and choose Spanish in its Language select. Then open the original category, type the ID of the Spanish category into the Term ID to link field of the Spanish line under Translations, and save
- Repeat for all categories and subcategories
- String Translation lists the names of the attributes when you save an attribute (or a product with a custom attribute), so you do not need to add the text domain to Settings or open a product page. For the names saved earlier, go to Lang Forge > Translations > String Translation and click Find WooCommerce strings
- Go to Lang Forge > Translations > String Translation, pick woocommerce-attributes in the Domain filter, and click Apply
- Translate the attribute names (e.g., “Color” stays “Color” in Spanish, but “Size” becomes “Talla”) and click Save Translations
- For the values of a global attribute (Products > Attributes), such as “Red” or “Large”, add each translated value as another term of the same attribute (for example “Rojo”) and choose its language in the Language select. Then open the term of the original and type the ID of the translated term into the Term ID to link field of that language under Translations (that field is on the edit screen of a term, not in the Add New form). These fields show on the terms of an attribute that has Enable archives? ticked, which also gives the attribute public archive pages on the front end
- If you do not want archives for the attribute, translate the values in String Translation instead: it lists a value when you save it in the default language, and the Find WooCommerce strings button lists the values saved earlier. Pick taxonomy in the Domain filter, click Apply, translate the values (e.g., “Red” becomes “Rojo”), and click Save Translations
- In Phase 4, do not add the translated term to the translated products: the variations of a translation stand on the term of the original, and the shopper reads the name of the linked term. For a custom attribute that you type into a single product, write the translated values in the Value(s) field of its Attributes tab on the translated product, with the same number of values in the same order as the original (“Rojo | Azul” for “Red | Blue”), and leave the Name field as the original has it; the variations then stand on your words
Phase 4: Translate Products
- Go to Products > All Products
- You have two options:
– Individual approach: Open each product, click + Create in the Spanish row of the Language metabox, then use AI Translate or translate manually
- If you used the bulk approach, review the translated product drafts. Pay special attention to:
– Short descriptions (these appear on shop archive pages)
– Long descriptions (check formatting and accuracy)
- For a variable product, open the translated product and check its variations: Lang Forge makes a variation of its own in the translation for each variation of the original, with the price, SKU, image, and attributes of the original. The description of a variation is a copy of the original’s until you translate it: edit it by hand, or click AI Translate on the translated product (Pro)
Phase 5: Translate WooCommerce Strings
If WordPress has the language pack installed for Spanish, the translated store pages already show the texts of WooCommerce in Spanish. This phase changes their wording, and covers a language with no language pack.
- Go to Lang Forge > Translations > String Translation
- Select Spanish in the Translate to filter
- In the Domain filter, select woocommerce and click Apply. The domain is listed only after its strings are registered: add
woocommerceto Settings → String Auto-Registration Domains and open a few store pages on the front end first - You will see the WooCommerce interface strings that have been registered so far: button labels, form fields, status messages, and more
- With Lang Forge Pro, click AI Translate to translate the whole domain in one run, or translate key strings manually and click Save Translations:
– “Proceed to checkout” → “Proceder al pago”
– “Out of stock” → “Agotado”
– “Sale!” → “Oferta!”
– “Description” → “Descripcion”
– “Additional information” → “Informacion adicional”
– “Reviews” → “Resenas”
- Review and adjust any AI-translated strings that need refinement
Phase 6: Set Up the Language Switcher
- Choose where to place the language switcher for your store:
langforge_language_switcher() in your theme’s header template (recommended for stores)
– Footer widget area: Add the Lang Forge Language Switcher widget
– Product pages: Use the
shortcode in a widget area visible on product pages
- If you chose the header, add the Language Switcher widget to your header widget area in Appearance > Widgets, or add
echo langforge_language_switcher();to your theme’s header template - Save the changes
Phase 7: Translate Order Emails
- Go to Lang Forge > Translations > String Translation
- For a text that you typed in the email settings of WooCommerce (a subject, heading, additional content, or footer text), pick woocommerce-emails in the Domain filter, click Apply, and translate the text in its Spanish cell. The list takes these texts when you save them; click Find WooCommerce strings to list the ones saved earlier
- The source cell of such a text is read-only: change the text in the email settings of WooCommerce, not here. When you change an email text later, its translations are kept and not marked out of date: check them
- For the other texts of the emails, pick woocommerce in the Domain filter (the domain is listed once you have added
woocommerceto Settings → String Auto-Registration Domains and opened a store page on the front end), click Apply, then look through the strings for the email-related ones (the screen has no search box), and translate the ones you find there - Place a test order in Spanish and read the emails it sends before you rely on them
Phase 8: Test the Full Shopping Flow
- Open your store in an incognito browser window
- Switch to Spanish using the language switcher
- Browse the shop page — verify product names, categories, and prices display correctly in Spanish
- Open a product page — check the name, descriptions, attribute labels, and button text
- Add a product to the cart — verify the cart page shows translated product names and labels
- Proceed to checkout — verify all form labels, totals, and the “Place Order” button are in Spanish
- If possible, place a test order and verify the confirmation email arrives in Spanish
Phase 9: Publish and Monitor
- When you are satisfied with the translations, publish all translated product drafts:
– Filter by Language: Spanish
– Select all products using the checkbox
– Use the Bulk Actions dropdown to change status to “Published”
– Click Apply
- Submit the hreflang sitemap to Google Search Console to help search engines discover your translated store pages
- Monitor the Lang Forge > Reports > Analytics dashboard over the following weeks to track translation coverage and identify any content you may have missed
> Tip: Set up your Glossary before starting Phase 4. Add your brand name, product names, and any technical terms as “Do Not Translate” entries. This prevents the AI from translating proprietary terms incorrectly across hundreds of products.
> Good to know: Lang Forge copies product prices, stock levels, and SKUs from the product in the default language to its translations each time you save it, sets a stock change made in any language on the other languages, and copies the featured image and gallery when a translation is created. You do not need to set these up separately for each translation.
—