[Resolved] I can't translate Tutor lms's course retake popup
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate the 'Override Previous Progress' modal in Tutor LMS using WPML, but the string does not appear on the string translation page. This issue arises because the modal's content is dynamically generated via JavaScript, which WPML typically does not handle as it translates static content from the WordPress database. Solution: . For a more technical solution, you can refer to our guide on translating strings from JavaScript files: Translating the Theme You Created. This guide may require some coding work. You can also contact the authors of the Tutor LMS plugin and suggest they reach out to our compatibility team for further assistance.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at WPML Support Forum.
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.
I want to check this issue on your site to see if I can further help. Please explain to me how you created this popup.
If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ **IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--
Issue regarding translating the "Override Previous Progress" modal:
WPML may not be able to translate the "Override Previous Progress" modal because the modal's content is dynamically generated via JavaScript, and WPML primarily translates static content from the WordPress database (like pages, posts, and strings stored in the database).
If you want to translate that modal strings in a single language, you can do that by using Loco Translator Plugin. In that case, we can assist you to do that. If you prefer that way, then let us know. But to translate that modal using WPML and translate that modal string in two different language is not possible right now. We are sorry about that.
I also contacted the administrators of tutor lms on this issue. And they responded to me. Is it possible to circumvent this via Wpml?
You can send it to the authors of the plguing. You can also tell them they can contact our compatibility team for help. They should have the contact details.
Alternatively, you can try their suggestion to use the Loco plugin.