Why Won't My WooCommerce Translations Work? A Troubleshooting Guide for Loco Translate
Content
If you're using Loco Translate with WooCommerce and finding that some translations just won't appear on your site, you're not alone. This is a common point of confusion. Based on community reports, this guide will walk you through the most frequent reasons this happens and how to resolve them.
Why Your WooCommerce Translations Might Not Be Showing
Loco Translate's primary job is to create and save PO/MO translation files. If it has successfully saved your translations, the issue is often not with Loco Translate itself but with how WordPress or other components on your site are loading the translations. Here are the top culprits:
1. The String is Not Where You Think It Is
One of the most common issues is that the text you want to translate isn't actually coming from the WooCommerce plugin. It could be provided by your theme, another plugin (like a WooCommerce extension), or even a JavaScript file.
- How to check: Temporarily switch to a default WordPress theme (like Twenty Twenty-Four) and disable all other plugins except WooCommerce. If the translation now works, you know another component is the source. Re-enable themes and plugins one by one to identify the culprit.
- Example: A "Shop Now" button might be a string defined by your theme, not WooCommerce, which is why you can't find it in WooCommerce's translation files.
2. JavaScript (JSON) Translation Issues
Modern WooCommerce blocks and features heavily rely on JavaScript. Translations for these strings require a separate JSON file, not just a PO/MO file.
- How to check: In Loco Translate, navigate to your WooCommerce translations and click "Scripts." This shows you which strings are destined for JSON files. If your string is listed here, ensure you have translated it and that the JSON file has been generated.
- Example: Strings like "Remove item" or "%d in cart" from the cart block are often handled by JavaScript and require JSON translations.
3. Incorrect Language Code or Location
Your translation files must be saved in the correct location and use the exact language code that your WordPress site is set to use.
- Language Code: If your site language is Spanish from Spain (
es_ES) but you saved a translation file for justes, it will be ignored. Always match the language code exactly. - File Location: Saving files in the system directory (
/wp-content/languages/...) is safe, but they can be overwritten by WordPress updates. Saving in the custom directory (/wp-content/languages/loco/...) is recommended for persistence, but you must ensure your theme or plugin is configured to look for translations there.
4. Caching and Optimization Plugins
Aggressive caching can serve old, untranslated text to your users. This includes page caching, browser caching, and CDN caching.
- Solution: After saving translations, clear all levels of cache on your site—your caching plugin, server-side cache, and CDN cache. Also, try viewing the site in a private/incognito browser window to bypass browser cache.
5. Automatic Translation Services
Using services like Google Translate through Loco's API can sometimes break string formatting.
- The Problem: Placeholder variables like
%s(for a product name) or%d(for a number) might get corrupted or removed during automatic translation. - Solution: If a translated string with a placeholder isn't working, open it in Loco's editor and manually check that the placeholder is present and correctly formatted in the translation.
6. Conflicting Translations
Your theme or another plugin might be creating its own translation for the same string, overriding yours.
- How to check: This is difficult to debug but can often be identified by the process of elimination in step 1. If a translation works with your theme disabled but breaks when it's enabled, your theme is likely the source of the conflict.
Still Stuck?
If you've worked through these steps and your translation still isn't appearing, the issue may require deeper investigation into the specific plugin or theme providing the string. The Loco Translate team has noted that they cannot investigate conflicts within third-party themes or plugins. Your best course of action is to contact the support for the theme or plugin that is the source of the untranslated string, as they will know best how their software handles translations.
Related Support Threads Support
-
Some translations not showed (Woocommerce)https://wordpress.org/support/topic/some-translations-not-showed-woocommerce/
-
Can’t find a stringhttps://wordpress.org/support/topic/cant-find-a-string/
-
Shop Now button translation is not foundhttps://wordpress.org/support/topic/shop-now-button-translation-is-not-found/
-
Translation goes back from german to englishhttps://wordpress.org/support/topic/translation-goes-back-from-german-to-english/
-
Only add to cart-phrase not translatedhttps://wordpress.org/support/topic/only-add-to-cart-phrase-not-translated/
-
Tim please read thishttps://wordpress.org/support/topic/tim-please-read-this/
-
Translation does not work for CODhttps://wordpress.org/support/topic/translation-does-not-work-for-cod/
-
Unable to translate some strings?https://wordpress.org/support/topic/unable-to-translate-some-strings-2/
-
Can’t find the a string to translatehttps://wordpress.org/support/topic/cant-find-the-a-string-to-translate/
-
Purge translationhttps://wordpress.org/support/topic/purge-translation/
-
words don’t translatehttps://wordpress.org/support/topic/words-dont-translate/
-
Translation Word in Composite Product by Woocommercehttps://wordpress.org/support/topic/translation-word-in-composite-product-by-woocommerce/
-
Plugins not translatedhttps://wordpress.org/support/topic/plugins-not-translated/
-
Some Cart Phrases Are Not Loaded With Custom Translationhttps://wordpress.org/support/topic/some-cart-phrases-are-not-loaded-with-custom-translation/
-
not showing wp’s pageshttps://wordpress.org/support/topic/not-showing-wps-pages/
-
Help needed to translate a string in WooCommercehttps://wordpress.org/support/topic/help-needed-to-translate-a-string-in-woocommerce/
-
one translation not showing in woocommercehttps://wordpress.org/support/topic/one-translation-not-showing-in-woocommerce/
-
Can’t translate “Page %d” breadcrumbhttps://wordpress.org/support/topic/cant-translate-page-d-breadcrumb/
-
Woocommerce Shortcode block translationhttps://wordpress.org/support/topic/woocommerce-shortcode-block-translation/
-
VAT number not translatedhttps://wordpress.org/support/topic/vat-number-not-translated/
-
Problem translating Woocommerce blockshttps://wordpress.org/support/topic/problem-translating-woocommerce-blocks/
-
translation not appearing (not the result, the string)https://wordpress.org/support/topic/translation-not-appearing-not-the-result-the-string/
-
Product Filters for WooCommercehttps://wordpress.org/support/topic/product-filters-for-woocommerce-2/
-
woocommercehttps://wordpress.org/support/topic/woocommerce-539/
-
Reporthttps://wordpress.org/support/topic/report-7/
-
Some WC strings are not translated in the Carthttps://wordpress.org/support/topic/some-wc-strings-are-not-translated-in-the-cart/
-
Cannot find wordshttps://wordpress.org/support/topic/cannot-find-words/
-
Can’t find tags to translatehttps://wordpress.org/support/topic/cant-find-tags-to-translate/
-
Not able to translate the surecart plugin stringhttps://wordpress.org/support/topic/not-able-to-translate-the-surecart-plugin-string/
-
How to find a string that is not in the .po file yet?https://wordpress.org/support/topic/how-to-find-a-string-that-is-not-in-the-po-file-yet/
-
“%s” do not show the product namehttps://wordpress.org/support/topic/s-do-not-show-the-product-name/
-
Unable to translate WooCommerce Infinite Scroll and Ajax Pagination’s messageshttps://wordpress.org/support/topic/unable-to-translate-woocommerce-infinite-scroll-and-ajax-paginations-messages/
-
Are some strings immune from translation?https://wordpress.org/support/topic/are-some-strings-immune-from-translation/
-
The same string is translated in some products but not in othershttps://wordpress.org/support/topic/the-same-string-is-translated-in-some-products-but-not-in-others/
-
Not translating all woocommerce stringshttps://wordpress.org/support/topic/not-translating-all-woocommerce-strings/
-
Woodmart Theme Translationhttps://wordpress.org/support/topic/woodmart-theme-translation/
-
Woocommerce translation not showing (czech)https://wordpress.org/support/topic/woocommerce-translation-not-showing-czech/
-
Issue Cart translationhttps://wordpress.org/support/topic/issue-cart-translation/
-
Some translations not showinghttps://wordpress.org/support/topic/some-translations-not-showing/
-
Bug string translationhttps://wordpress.org/support/topic/bug-string-translation/
-
Text not translatedhttps://wordpress.org/support/topic/text-not-translated-3/
-
Not the right translationhttps://wordpress.org/support/topic/not-the-right-translation/
-
Woocommerce texthttps://wordpress.org/support/topic/woocommerce-text-2/
-
Problem with translation of strings in Min/Max Quantitieshttps://wordpress.org/support/topic/problem-with-translation-of-strings-in-min-max-quantities/
-
WooCommerce English (UK)https://wordpress.org/support/topic/woocommerce-english-uk/
-
Translation document filled, but some words are not translated.https://wordpress.org/support/topic/translation-document-filled-but-some-words-are-not-translated/
-
Woocommerce TAX fieldhttps://wordpress.org/support/topic/woocommerce-tax-field/
-
Some text are not translatinghttps://wordpress.org/support/topic/some-text-are-not-translating/
-
String in woocommerce scripts not translatinghttps://wordpress.org/support/topic/string-in-woocommerce-scripts-not-translating/
-
Can’t translate “clear” button woocommercehttps://wordpress.org/support/topic/cant-translate-clear-button-woocommerce/
-
WooCommerce translation not working on product pagehttps://wordpress.org/support/topic/woocommerce-translation-not-working-on-product-page/