Skip Navigation

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.

This topic contains 3 replies, has 2 voices.

Last updated by Itamar 1 month, 3 weeks ago.

Assisted by: Itamar.

Author Posts
October 8, 2024 at 4:39 pm #16266836

janaR-9

Background of the issue:
I am trying to translate the course retake popup for Tutor LMS on my site hidden link using WPML. I followed the documentation at https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ to find strings that don't appear on the string translation page.

Symptoms:
The string for the course retake popup is not showing up on the string translation page.

Questions:
Why is the string for the course retake popup not appearing on the string translation page?

October 8, 2024 at 6:08 pm #16267119

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

The Tutor LMS plugin is officially compatible with WPML.

https://wpml.org/plugin/tutor-lms-pro/

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.--

Regards,
Itamar.

October 9, 2024 at 8:17 am #16268437

janaR-9

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?

October 9, 2024 at 6:28 pm #16272021

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Thanks for sharing the response from the plugin's authors.

It is possible to translate strings from JS files, but it requires some coding work. The following guide explains this in detail.

https://wpml.org/documentation/support/translating-the-theme-you-created/

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.

Regards,
Itamar.