This thread is resolved. Here is a description of the problem and solution.
Problem:
Woocommerce Shipping Emails were not translated. Solution:
A conflict as explained below is performed to find a conflict with the plugin Woocommerce PDF Invoices & Packing Slips Professional.
Relevant Documentation:
- Backup the site completely first or better test on a staging/clone copy site to prevent any issues or data loss.
- Deactivate all plugins except WPML Plugins and WooCommerce. Also, activate a default theme like twenty-twenty-three.
- Test the email now and see if it is resolved or not.
- If the issue is no longer there, activate the original plugins and theme one at a time each time testing the email issue to find out which one starts the issue again.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
On beta.heatperformance.nl as well as on our live site heatperformance.nl the shipping notification emails uses the wrong language for the product description.
So I go to woocommerce -> orders
There I check the orders that have been sent that day. And I set the status to 'completed'. At that time, all customers will receive an email that their order has been shipped. However, in this email the product description is translated incorrectly. The system picks up the language of the order before it.
For example:
order 5 - placed on heatperformance.fr
order 4 - placed on heatperformance.co.uk
order 3 - placed on heatperformance.de
order 2 - placed on heatperformance.nl
order 1 - placed on heatperformance.dk
The customer of order 5 receives an email in French, but with a product description of the order before that. So in English.
Order 4 receives an email in English but with a product description in German.
Order 3 receives an email in German but with a product description in Dutch, etc.
I can give you access to beta.heatperformance.nl. That is our test environment. There you can test and see what you want.
You are using slightly older versions of WPML and WooCommerce Multilingual plugins. Can you please first update all WPML plugins from wp-admin -> Plugins -> Add New -> Commercial ( tab ) and see if it helps?
If the issue persists, I will need a few more details for more insight on the issue.
- Did the issue start after some changes or updates? Or was it always there?
- The Shipping Notification email, is it managed or handled with some plugin, code, or custom setup?
- I see you are using the plugin "Woomail" is the issue still there regardless of weather the plugin is active or not?
Thanks for your answer.
The plugins are now up to date.
- Did the issue start after some changes or updates? Or was it always there? -> It was always there
- The Shipping Notification email, is it managed or handled with some plugin, code, or custom setup? -> Not a custom setup, it is included in Woocommerce
- I see you are using the plugin "Woomail" is the issue still there regardless of weather the plugin is active or not? -> I inactivated this plugin and the issue still exists.
If you want, you can have a look in beta.heatperformance.nl.
Before we look into your site, let's try to recreate the issue on a clean sandbox site to verify if the issue is a general WooCommerce, WPML issue or is an issue specific to your site.
Can you please:
- Login to the sandbox site I set for you using the login link: hidden link
- Make a basic setup of WPML and WooCommerce on the site.
Use as basic settings as possible and use as less plugins/options as possible to keep the site simple and easier to test.
- Add a few products on the site, translate them then test the issue with the order to verify if the issue is replicable there or not.
Please let me know how it goes, along with the steps to replicate/see the issue if the issue is replicable on the site.
I created a product on the sandbox and translated it.
I made 3 test orders and I have completed them in the back-end, in order to receive a shipping notification email. But I have not received any email. I am not sure why this sandbox environment does not send these emails?
Since the issue was not replicable in the Sandbox site, yes this means the issue on your site is due to some specific settings on the site or probably a conflict between the plugins/theme on the site with WPML.
Can you please test the following on the site and let me know how it goes:
- Backup the site completely first or better test on a staging/clone copy site to prevent any issues or data loss.
- Deactivate all plugins except WPML Plugins and WooCommerce. Also, activate a default theme like twenty-twenty-three.
- Test the email now and see if the issue is resolved or not.
- If the issue is no longer there, activate the original plugins and theme one at a time each time testing the email issue to find out which one starts the issue again.
I found the cause. It is the plugin 'Woocommerce PDF Invoices & Packing Slips Professional' that causes the issue. I contacted them already.
So, thank you very much for your help.
For now, this issue is solved!