Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client has a WordPress site with English as the default language and has set up both English and Spanish languages. They encounter an issue where, after changing the dashboard language to Spanish and updating an order status in WooCommerce, the email notification is still sent in English, even though it works correctly when ordering from the website frontend.

Solution:
We explained that the notification email sent to the admin is always in the site's default language, as set in WPML > Languages. To receive the notification email in Spanish, the client should change the language of their profile by navigating to

Users > Profile

and adjusting the language settings there. Additionally, we provided a hook that can be used to receive emails in the language set for the client's profile:

If this solution does not seem relevant, please open a new support ticket.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Prosenjit Barman 1 year, 7 months ago.

Assisted by: Prosenjit Barman.

Author Posts
November 24, 2023 at 6:22 pm #14920351

juanm-11

Hello,

I have a WordPress site, and the default language in the WordPress dashboard is English. I set up two languages: English and Spanish. I am facing a problem when a user purchases an order form in Spanish. If I change the dashboard language from English to Spanish, go to WooCommerce orders, and open an order in Spanish to change its status, the email notification is sent to me in English. Is it possible to receive that email in Spanish? but it work when I order from website frontend

Thank you.

Screenshot 2023-11-24 at 11.50.48 PM.png
November 27, 2023 at 1:22 pm #14930545

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi there,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.

Please note that the Notification email sent to the Admin is always in the site's default language. For instance, if the site's default language is English, as set in WPML > Languages, then the Notification email will be in English. Changing the site's default language will alter the language of the Notification email accordingly. In summary, the Notification email adheres to the default language settings and the way you are receiving the email as admin is expected.

If you wish to receive the Notification email in Spanish, you should first change the language of your profile. To do this, navigate to "Users > Profile" and adjust the language settings there. Once that's done, you can use the hook provided below to receive emails in the language set for your profile.

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

I hope it will help. If there's anything else you need help with, please let me know. I will be happy to help.

Best regards,
Prosenjit

November 27, 2023 at 2:41 pm #14931301

juanm-11

thank you for useful information