Skip Navigation

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.

This topic contains 10 replies, has 2 voices.

Last updated by lobkeB 1 year ago.

Assisted by: Subash Chandra Poudel.

Author Posts
October 27, 2023 at 8:27 am #14676277

lobkeB

Hi,

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.

How can I solve this problem?

Best regards,
Lobke

Screenshot 2023-10-27 at 10.13.43.png
Screenshot 2023-10-27 at 10.13.34.png
Screenshot 2023-10-27 at 10.13.43.png
October 30, 2023 at 1:59 pm #14692641

Subash Chandra Poudel

Hi Lobke,

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?

Regards,
Subash

October 31, 2023 at 5:51 pm #14702927

lobkeB

Dear Subash,

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.

Best regards,
Lobke

November 1, 2023 at 9:06 am #14706093

Subash Chandra Poudel

Hi Lobke,

Thank you for the details.

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.

Regards.
Subash

November 1, 2023 at 9:38 am #14706165

lobkeB

Hi Subash,

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?

Best regards,
Lobke

November 1, 2023 at 10:44 am #14706607

Subash Chandra Poudel

Hi Lobke,

Sorry that I didn't mentioned it earlier. Emails from the sandbox server might not work due to server restriction.

I have setup a Mail Log plugin instead to check the emails from WordPress dashboard itself and verify the issue. You can check emails from hidden link

Please let me know how the test goes.

Regards,
Subash

November 1, 2023 at 11:00 am #14706631

lobkeB

Hi Subash,

Thanks for your message.
I checked the emails. They are well functioning now. Could it be because I have 'language per domain' installed?

Best regards,
Lobke

November 1, 2023 at 1:55 pm #14708029

Subash Chandra Poudel

Hi Lobke,

Thank you for the tests and the updates.

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.

Looking forward to the updates.,

Regards,
Subash

November 3, 2023 at 11:18 am #14725127

lobkeB

Hi Subash,

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!

Best regards,
Lobke

November 3, 2023 at 11:20 am #14725133

lobkeB

Thank you very much!!

November 3, 2023 at 11:27 am #14725287

lobkeB

I left a 5 star review to rate WPML on capterra.com.

November 3, 2023 at 11:28 am #14725289

lobkeB

-