Skip Navigation

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

Problem:
You are using WPML with Tutor LMS PRO and have translated email messages using a string, but the email notifications are not being sent in the user's language; they are only sent in the language of the template.
Solution:
We recommend following these steps to ensure email notifications are sent in the user's language:
1. Navigate to WPML-> Theme and plugins localization, select your theme/plugin, and scan.
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.
For more detailed guidance, please refer to our guide on 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/

If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at https://wpml.org/forums/forum/english-support/.

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.

Tagged: 

This topic contains 12 replies, has 0 voices.

Last updated by janaR-9 2 days, 9 hours ago.

Assisted by: Osama Mersal.

Author Posts
December 13, 2024 at 1:14 pm #16511504

janaR-9

Background of the issue:
I am using WPML with Tutor LMS PRO on my site hidden link. I want to send email notifications in the user's language. I translated the email message using a string.

Symptoms:
The email notifications are not being sent in the user's language. They are only being sent in the language of the template.

Questions:
How can I ensure that email notifications are sent in the user's language?
Why are the translated email messages not being sent in the user's language?

December 16, 2024 at 12:48 pm #16517401

Osama Mersal
Supporter

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

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

Hi,

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

First of all, sorry for the late reply; it was due to a higher workload.

Please log in to this hidden link">sandbox site and install the Tutor plugin.

After that, please try to replicate the issue. If the issue is replicable, please let me know so I can reproduce it.

Note: You can check the emails using the hidden link">mail log plugin.

Best regards,
Osama

December 16, 2024 at 1:14 pm #16517494

janaR-9

Same error again. Translated template not sending.

December 16, 2024 at 4:12 pm #16518229

Osama Mersal
Supporter

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

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

Hi,

Thanks for replicating the issue. I'll consult our compatibility team and update you when I get their reply.

Best regards,
Osama

December 19, 2024 at 11:22 am #16529746

janaR-9

Hello,
Have you received a response yet and how long will it take?

December 19, 2024 at 11:27 am #16529763

Osama Mersal
Supporter

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

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

Hi,

The ticket is escalated to our compatibility team queue. I'll update you as soon as I get their reply.

Please note that it might take some time due to a higher workload and vacation.

Thanks for your patience

Best regards,
Osama

December 24, 2024 at 12:13 pm #16543627

Osama Mersal
Supporter

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

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

Hi,

Our compatibility team has debugged the issue and found that the code that generates the email strings runs too early, which prevents WPML from translating them.

There is no easy workaround for the issue, but our team will contact the Tutor LMS author to share our findings and collaborate on a solution.

Best regards,
Osama

December 24, 2024 at 6:33 pm #16544438

janaR-9

Understood, thank you. I hope this problem will be fixed soon.

December 25, 2024 at 8:41 am #16545035

Osama Mersal
Supporter

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

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

Hi,

I'll update you as soon as I get an update.

Best regards,

January 23, 2025 at 4:54 pm #16629154

janaR-9

Hi!
Have any news?

January 23, 2025 at 5:32 pm #16629277

Osama Mersal
Supporter

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

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

Hi,

Here is the latest reply from the author:

We've forwarded this issue to our development team, and they are actively working on it. Hopefully, it will be resolved in the next version.

Best regards,
Osama

February 5, 2025 at 12:14 pm #16670942

janaR-9

Hello!
Tutor lms released an update and it says "
Improved email template compatibility with WPML". How do I translate email messages? Via string?

February 5, 2025 at 12:31 pm #16670984

Osama Mersal
Supporter

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

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

Hi,

I'm not sure how the templates should be translated after the update. Please try the following steps:

1- Go to WPML-> Theme and plugins localization, select your theme/plugin, and scan
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

February 6, 2025 at 12:02 pm #16675286

janaR-9

Thank you Osama! I received this message from Tutor lms supports and the translation worked with this method.

With WPML, you can translate the backend email templates in Tutor LMS that can be edited from Tutor LMS > Settings > Email. This allows you to customize and translate the email templates into multiple languages directly from the backend. I have shared a screenshot below for your better understanding.

hidden link

However, regarding the emails that students receive upon course purchase, they will be sent in the default language of your site. In this case, while the content and templates can be translated in the backend, the email language will still align with your site's default language settings.