Skip to content Skip to sidebar

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

Problem:
The client is attempting to translate specific strings from Tutor LMS, such as 'enroll now' and 'course progress', from English to Polish using WPML. Despite marking these strings as translatable and translating them in the WPML String Translation interface, the changes are not reflected on the site.
Solution:
We recommended the client to verify the translation settings and ensure that the strings are correctly saved and assigned in WPML. Additionally, we provided a screen recording to demonstrate the correct process for translating strings using WPML. If the strings still do not appear in Polish on the frontend after following these steps, it might be due to a caching issue or a conflict with another plugin. We suggest clearing the site's cache and temporarily disabling other plugins to check if there is an interference.

If this solution does not resolve the issue or seems outdated, we recommend opening a new support ticket. It's also advisable to check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm 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 14 replies, has 2 voices.

Last updated by Kor 1 year, 9 months ago.

Assisted by: Kor.

Author Posts
June 25, 2024 at 1:32 pm

krzysztofK-28

Background of the issue:
I am trying to translate strings from Tutor LMS like 'enroll now' and 'course progress' from English to Polish on my site hidden link. I am using WPML for this purpose.

Symptoms:
I can find these strings in string translation, but after translating them, nothing happens. They are still in English.

Questions:
Why are the translated strings from Tutor LMS not appearing on my site?

June 25, 2024 at 2:06 pm #15821664

Kor

Thanks for your patience.

You should be able to translate the strings now. Example: Translate "Course Progress" here hidden link

Please do not enable the option shown in the attached screenshot as it will slow down the site.

Screenshot_303.png
June 26, 2024 at 7:28 am #15830646

krzysztofK-28

It still doesn't work.

For URL:
hidden link
there should be translation for "enroll now", "start learning", "free access this course".

At the begining I've gone:
hidden link
and checked: corses, lessons, tutor_quiz, topics, tutor_assignments as trnslatable.

To translate these strings I go:
hidden link
then search for "enroll now", "start learning", "free access this course" and translate them.

Unfortunetlly nothing happens on frontend.

June 26, 2024 at 8:29 am #15831185

krzysztofK-28

Sorry for incovenience.

I've disabled 2FA a minute ago so you should be able to log in now.

June 26, 2024 at 1:40 pm #15834387

Kor

Thanks for your reply.

Please check out this screen recording that shows you what I've done to translate the strings hidden link

June 27, 2024 at 6:48 am #15841006

krzysztofK-28

After yoy yesterday's video everything worked correctly. Today I've uninstalled WP File Manager and it came back to the main issue.

Here is the video of my translation steps: hidden link

June 27, 2024 at 10:20 am #15842901

krzysztofK-28

After yours yesterday's video everything worked correctly. Today I've uninstalled WP File Manager and it came back to the main issue.

Here is the video of my translation steps: hidden link

June 27, 2024 at 10:21 am #15842951

Kor

Thanks for your reply.

Ok, please allow me to look into this for you again and I will come back to you shortly.

June 27, 2024 at 2:13 pm #15844687

krzysztofK-28

Sure, I'll be waiting for your respone.

June 27, 2024 at 2:42 pm #15844896

Kor

Thank you for getting back to me.

Did you utilize a different plugin for the translation? I previously deleted the kursy_kreatywni_online/wp-content/languages/plugins folder, but it reappeared.

The language file within that folder is causing the translations to overwrite. I've removed the folder again, so it should be resolved now. Could you please verify?

June 28, 2024 at 9:22 am #15850705

krzysztofK-28

No it's still not working,

At the begining when I had a problem with translation I was trying to use diffrent plugin (Loco or Polyland but the plugin couldn't find important strings so I've uninstalled it).

Since I've started conversation with you I didn't install any plugin.

June 28, 2024 at 2:35 pm #15852688

Kor

Thanks for your reply.

I've removed it again as shown in the attached screenshot hidden link and could you please try again? If the issue persists, I will have to escalate this to our 2nd Tier Support for further investigation.

July 1, 2024 at 1:28 pm #15868892

krzysztofK-28

I'm sorry but it's still not working.

July 2, 2024 at 1:17 pm #15875567

Kor

I regret any inconvenience caused, but to proceed with troubleshooting, I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

July 3, 2024 at 2:08 pm #15885166

Kor

Thanks for your patience.

I've applied the workaround from this errata https://wpml.org/errata/l10n-php-performant-default-translated-strings-not-displaying-correctly/ and it's working fine now and could you please check?