Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 5:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

This topic contains 4 replies, has 0 voices.

Last updated by Otto 6 days, 5 hours ago.

Assisted by: Otto.

Author Posts
April 18, 2025 at 1:15 pm #16947370

marcM-23

Background of the issue:
I am experiencing an issue with WooCommerce emails on my site hidden link. I followed the guidance from this documentation: https://wpml.org/errata/wc-order-update-emails-may-contain-mixed-language-texts/. My admin language is set to English, but when an order is placed in French, the emails sent to the customer contain mixed languages.

Symptoms:
The title, header, and footer of the emails are in French, but the order-related content is in English.

Questions:
Why are the order-related contents of the emails in English when the rest is in French?
How can I ensure the entire email is sent in the customer's language?

April 22, 2025 at 5:25 pm #16956750

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.

The emails with mixed languages are sent when an admin edits an order, right? Can you please set the admin user language to "Site default" and try again?

If that's not the case, please try this:
**IMPORTANT:** Please try this in a staging environment.
Disable all plugins except WPML-related and WooCommerce, and temporarily change the theme to a default WordPress such as Twenty Twenty-five.
Is the issue resolved with these settings? If so, please reactivate one by one to see which conflicts.

Best Regards,
Otto

April 29, 2025 at 5:34 am #16977160

marcM-23

Hi,
Yes, if I change the admin language to French the problem disappears. This is exactly the same thing as the bug you describe here, but the fix is not working: https://wpml.org/errata/wc-order-update-emails-may-contain-mixed-language-texts/

If it is a known bug from WPML, I'm expecting your support to do more than use your default push-back strategy (disabling all plugins, etc.). How about investigating?

Best,
Marc

April 29, 2025 at 12:23 pm #16979049

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi Marc,

A fix is planned for WPML 4.8. It may change, but I hope it will make it.

Regarding the fix, another user reported that setting all the admin-users' languages (in their profile) to the “Site default” setting made the fix work. Is that a suitable temporary solution for you? Can you give it a try?

Best Regards,
Otto

April 29, 2025 at 10:11 pm #16981153

marcM-23

Hi,

No, I just tried this with an admin user, changed the status of a test order back to on-hold and my test user received a mixed language email. The only thing that works is if I put the my admin user in the language of the order and then change the status, but this is ridiculous.

I'm happy to give you an a staging site where you can test all you want.

Best,
Marc

April 30, 2025 at 12:21 pm #16983798

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi Marc,

Thanks.

I enabled a private reply so you can safely share credentials for the staging site.

**IMPORTANT**
- If you do not see the wp-admin/FTP fields, your post & website login details will be PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields.

Best Regards,
Otto

April 30, 2025 at 6:39 pm #16985147

Otto
WPML Supporter since 09/2015

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Thanks.

I deactivated all the plugins but Woocommerce, WPML, and their addons and switched to a default WP theme. I also created a simple product.

With this basic setup, I sent the order details to the client, and it went in the right language. Despite the admin language.

Can you please tell me which product I should test to see the issue, and the minimal setup I should enable to reproduce it?

Thanks.

Best Regards,
Otto