Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there,
I understand that most of the translations are working well, but emails aren’t being translated. Those should be part of core WooCommerce, so should be covered with the default core translations for WooCommerce.
The email contents can be overridden from any number of places, for example in your theme, or in an email plugin. If you’ve confirmed that the strings are translated in core WooCommerce but aren’t seeing the translations in the received emails, I’d start checking what could be affecting those emails. If you have an idea, try disabling the plugin/switching theme and seeing if the emails change.
If you aren’t sure what could be causing it, I’d recommend a conflict test (possibly on a staging site) to help figure out what is affecting those emails. Here’s some info to get you started:
https://docs.woocommerce.com/document/how-to-test-for-conflicts/
Hi Hannah,
Thanks you so much for you response.
Can you explain to me where I should look to check if the strings are translated in core Woocommerce?
I tried switching themes already, unfortunately that didn’t solve the issue.
I only have one 3rd party plugin (Mollie) for the payments, but this plugin is also set to Dutch and shouldn’t be affected e-mail anyways.
Considering this it might be best to check if, like you said, the core of Woocommerce is actually correctly translated, but I don’t know where to check en what I should look for. Can you explain to me how this works?
Thanks in advance for your time and effort,
Kind regards
maarten
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
If you’re 100% sure that the strings must be in WooCommerce core, here’s how I’d approach it:
First off, make sure that your site language is set to Dutch under wp-admin > Settings > General
. If that’s not the case, these kinds of things can happen.
1. Go to WooCommerce > Settings > Email
and find that email in the list
2. Make sure the email template isn’t overridden (option #1 in How to customize WooCommerce order emails)
3. Confirm that templates are not overridden by checking `WooCommerce > Status – the template override section is at the bottom
At that point, you’ve determined that unless there’s something truly strange happening, WooCommerce is using the default email templates.
From here, I’d recommend using <a href=”https://wordpress.org/plugins/loco-translate/”>Loco Translate</a>. It could be that other translation plugins work, but this one that I personally use and know for sure that it’ll do what it’s supposed to. I’ll be using Loco Translate in the rest of this response.
The email heading for the Order complete
email is Your order is complete
. I searched for that string in Loco and was able to find it:
Link to image: https://d.pr/i/xgl3ZE
-
This reply was modified 4 years, 4 months ago by Hannah S.L.. Reason: Fixed broken image link
Hey @maartenvveen
Just checking-in: I hope the suggestions provided by Hannah, to use the LocoTranslate plugin, has helped you in achieving your requirement of translating the strings in your site.
Since we haven’t heard from you in a while, I’m going to mark this topic as Resolved
. Let us know if you keep running into troubles. You can either reply here to follow-up with the same problem, or create a new thread to report your troubles to us.
All the best!