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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 7 replies, has 0 voices.

Last updated by Osama Mersal 3 months, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
January 10, 2025 at 3:49 pm #16582614

viniciusA

Background of the issue:
I set up WPML + Woocommerce on my site, and some existing Woocommerce clients started receiving WC emails in the wrong language.

Symptoms:
I expected to see an order email in English, but instead, I got the order email in Brazilian Portuguese.

Questions:
How can I fix the issue of Woocommerce order emails being sent in the wrong language?

January 12, 2025 at 12:57 pm #16585651

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please try the following steps:

1- Go to WPML-> Theme and plugins localization, select WooCommerce, and scan it
2- Go to WPML-> String Translation
3- Scroll down and click on the "Translate texts in admin screens »" link
4- Search for the needed strings
5- Select the strings
6- Click on the "Add to String Translation" button
7- Then click on the "« Return to String Translation" link
8- Translate the strings, clear the cache, and check the front end

Kindly check our guide to know more about translating texts in the admin texts screen. (https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/)

Best regards,
Osama

January 12, 2025 at 1:21 pm #16585654

viniciusA

Hi Osama,

Thanks for your reply. I'm following your instructions, but I suspect you did not fully understand what the issue is.

The original site language is English, and all of my existing clients have always received Woocommerce order emails (new orders and subscription renewals) in English.

I installed WPML to set up Brazilian Portuguese as I want to try to hit that market. I don't have any clients from Brazil yet, but I noticed that some of my existing clients (English) started receiving order renewal (or renewal failure) emails in Portuguese.

Will your instructions solve this issue? The strings seem to already be translated by Woocommerce .po files as I never translated them.

Cheers,
Vinny

January 12, 2025 at 1:31 pm #16585667

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Vinny,

Thanks for your reply. The above steps will show you if the strings are translated correctly.

For example, the strings might be flagged as English while they are in different languages.

Also, please let me know if you have the steps to reproduce the issue.

Best regards,
Osama

January 12, 2025 at 1:48 pm #16585705

viniciusA

Hi Osama,

The strings are flagged correctly as English. They don't have custom translations (see screenshot), but sometimes get sent in Portuguese anyway.

The Portuguese versions are included in wp-content/languages/plugins/woocommerce-subscriptions-pt_BR.po.

The issue here is identifying which clients need to receive emails from which language.

Screenshot 2025-01-12 at 10-41-52 String Translation ‹ UseStrict Consulting — WordPress.png
January 12, 2025 at 1:54 pm #16585722

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please go to Users-> Edit User that received the wrong email and check the language dropdown menu.

After that, please select English and update the profile.

The next step will be reproducing the issue to check if the email will be sent correctly.

Best regards,
Osama

January 12, 2025 at 1:59 pm #16585724

viniciusA

I looked up one particular user and the language set is the Site Default. The WMPL default language is set to English.

Screenshot 2025-01-12 at 10-57-29 Edit User antti.hiltunen ‹ UseStrict Consulting — WordPress.png
Screenshot 2025-01-12 at 10-58-25 Languages ‹ UseStrict Consulting — WordPress.png
January 12, 2025 at 2:00 pm #16585753

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please select English instead of the site's default and check the issue.

Best regards,

The topic ‘[Closed] Woocommerce order emails in wrong language’ is closed to new replies.