Spanish (Spain) language not working with WooCommerce
-
Hello WooCommerce team, I have a multisite site where I’m having problems with the Spanish translation. When I set the user’s language to Spanish, it displays English.
I’ve recorded a video to make this clearer. I’ve used the Loco Translate plugin to see if it fixes this, but it doesn’t. When I select “Spanish Mexico,” the translation is excellent, but when I select “Spanish,” it doesn’t translate to Spanish; it just stays in English. I even copied the same .po translation file from “Spanish Mexico” to “Spanish,” but the translation still doesn’t work.
-
Hi @vallesierra7, I can see exactly what you are describing in the video and I understand how confusing this is, especially when one Spanish variant works perfectly while the other stays in English. I am keen to help you get this lined up correctly.
From the recording, this is behaving as expected for how WordPress and WooCommerce handle language packs in a multisite setup. Spanish Mexico works because the es_MX language pack for WooCommerce is fully available and loading, while Spanish Spain relies on the es_ES language pack, which is loaded per site and not always per user in multisite. Copying the PO file manually does not take effect because WooCommerce loads translations based on the active site language and the official language packs downloaded from ww.wp.xz.cn, not custom copied files.
What I recommend is first confirming that the site language, not just the user language, is set to Spanish Spain under Settings, General for the affected site in the network. Then go to Dashboard, Updates and re download translations to ensure the es_ES WooCommerce language pack is properly installed. Also double check that there is no WPLANG constant defined in wp config, as that can override language loading. In multisite, WooCommerce strings are expected to follow the site language rather than the user language, which explains why the admin language switch does not affect those strings.
You can find more detail on how WooCommerce handles translations here: https://woocommerce.com/document/woocommerce-localization/
And how WordPress manages languages in multisite here: https://developer.ww.wp.xz.cn/advanced-administration/wordpress/multilingual/#each-language-in-its-own-wordpress-installation.
Please try those checks and let me know what you see after re downloading the translations so we can continue from there.
I’ve done everything you suggested, and the result is the same; I can’t get the Spanish translation. I’ve also deleted the Spanish translation file and downloaded it from the WooCommerce “New Translations Available” update, but everything is still in English.
Can you help me with this? Is there an email address where I can send access to the site?-
This reply was modified 2 months, 1 week ago by
vallesierra7.
Hi @vallesierra7,
Thanks for confirming and for trying those steps.
We’re not able to accept site access or provide an email for login details. Support here is handled via the forum only.
At this point, the next step would be to review your site’s environment to see what might be preventing the
es_ESlanguage pack is not loading correctly in your multisite setup.Could you please share:
- The WooCommerce System Status report (WooCommerce → Status → Get system report). Copy it and share it via Pastebin / QuickForget.
- Confirmation of the WordPress version, WooCommerce version, and whether this happens on all sites in the network or just one.
- Whether the issue occurs when you temporarily switch to a default theme (like Storefront) and disable non-essential plugins on one test site.
Once we have those details, we can dig deeper and see why Spanish (Spain) isn’t being picked up while Spanish (Mexico) works as expected.
WordPress: Versión actual: 6.9
Coocommerce: Versión 10.4.3
I currently use the Astra theme, I switched to the HELLO theme to test it, I also deactivated plugins, leaving only WooCommerce, I cleared the cache and it still has no translation.
-
This reply was modified 2 months, 1 week ago by
vallesierra7.
Hi there!
Thank you for providing more information about the issue. I’ve tried to replicate it on my end, and everything appears to be working as expected here.
Based on what I can see, this may be related to how the multisite was created. You’re using the NS Cloner plugin to set up the multisite, so I’d recommend reaching out to the plugin’s support team to check why the Spanish language isn’t working correctly across the network. They’ll be in the best position to advise on how to resolve this.
Please let us know what they find.
It’s been a while since we heard back from you for this reason we are closing this thread.
If WooCommerce has been useful for your store and you appreciate the support you’ve received, we’d truly appreciate it if you could leave us a quick review here:
https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/#new-post
Feel free to open a new forum topic if you run into any other problem.
Given that I have a multisite setup, I exported one site from the multisite and installed it on a separate site. The result is the same: the Spanish translation isn’t working. The site’s language is set to Spanish, and the user’s language is also set to Spanish; everything remains the same as on the multisite.
I don’t have NS Cloner installed in this installation.
Hi there!
Thank you for the details. Since exporting the site from your multisite didn’t resolve the issue, I would suggest trying a slightly different approach.
Instead of exporting a site, please create a completely new, separate site and set the site language to Spanish during setup. Then check if the translation works correctly on this fresh installation.
Also, go to the WordPress dashboard → Updates and scroll down the update screen to see if there are any translation updates available. Installing these can sometimes resolve missing translations.
Let us know what you find, and we can assist further based on the results.
Since there’s been no recent activity on this thread, I’m marking it as resolved. Don’t hesitate to start a new thread if you need help in the future.
-
This reply was modified 2 months, 1 week ago by
You must be logged in to reply to this topic.