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 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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: Europe/Tirane (GMT+02:00)

This topic contains 3 replies, has 2 voices.

Last updated by Marsel Nikolli 5 months, 3 weeks ago.

Assisted by: Marsel Nikolli.

Author Posts
June 25, 2024 at 12:16 pm

andreaA-45

Background of the issue:
I don't understand why the ticket has been closed since the problem is not solved. But I will open another one.
On WooCommerce, when my customers place orders by bank transfer, they are marked as 'Pending'. Once I have verified the payment, I put it as completed.
However, this email is sent in the default language of the site and not in the customer's language. And this is a big problem.
I have read your old tickets concerning the problem, but this one persists.

Symptoms:

Questions:

June 25, 2024 at 1:59 pm
June 25, 2024 at 3:24 pm #15822589

Marsel Nikolli

Hi,

I've checked further and whatever email is sent from the admin of WordPress follows the admin language and not the front end of the website on which the email is sent to the admin. (In your case when the emails are sent from the WP-Admin when changing the order status).

You can test by following these steps:

- Go to "WordPress Dashboard > Users > Profile".
- Change the admin language there to another one.
- Go to "WordPress Dashboard > Woocommerce > Orders", change the order status of a product, and see the language of the email that is sent.
- It will be the same language as the language you set in Users > Profile.

---

You can handle the status update programmatically, but such a solution is related to custom coding, which is outside the scope of our support. If you need further assistance, we suggest you contact a third-party contractor or developer who is familiar with both WPML and WooCommerce. Here is the list of contractors: https://wpml.org/contractors/

Please check the documentation below to understand how you can use WPML API to force the email language: https://wpml.org/documentation/support/sending-emails-with-wpml/

Also please check the hooks below:

https://wpml.org/documentation/related-projects/woocommerce-multilingual/wcml-hooks-reference/#hook-7636959

I hope you find this information helpful and thank you for understanding.

Kind regards,
Marsel

June 27, 2024 at 7:52 am #15841419

andreaA-45

I don't agree ... you have to intervene, also because leaving only woocommerce and elementor works in the same way, i.e., with transfer, the mails arrive in the site's mother language.

June 27, 2024 at 3:12 pm #15845177

Marsel Nikolli

Hi,

I've checked further on a sandbox site and it is working correctly with only WPML and WCML plugins.

Would it be possible to set up the sandbox by uploading only the necessary plugins/theme to reproduce the issue? Link to the sandbox site:
hidden link

* Please do not import your website on the sandbox.

You can create 1/2 testing products with the shipping/payment options as on your website and check, on the sandbox site as you can check the logs from the "WP Mail Logging
" plugin.

Looking forward to your reply,
Marsel

The topic ‘[Closed] WooCommerce order completed email sent in default language’ is closed to new replies.