Home›Support›English Support›[Resolved] Tutor LMS PRO - Email notifications are not translated in secondary languages. I want to send emails...
[Resolved] Tutor LMS PRO - Email notifications are not translated in secondary languages. I want to send emails...
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.
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?
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.
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
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.