Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 14 replies, has 2 voices.

Last updated by Kor 1 year, 9 months ago.

Assisted by: Kor.

Author Posts
August 24, 2023 at 6:57 am #14281879

andrejH-4

We are translating Learnpress plugin in our website (Eduma theme). With plugin localization we managed to translate everything into Croatian, however, the quiz is still showing up in English although we have translated the words (for example we have translated "Duration:" into Croatian but it is showing up in English). All other words in the course are showing up in Croatian after translation.

quiz-not-translated.png
August 24, 2023 at 2:27 pm #14286397

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Hi there,

Thanks for reaching us. I've checked your Website and I'm able to see the issue you had there. Could you please try using the String Translation plugin as explained here https://wpml.org/documentation/getting-started-guide/string-translation/ to translate the strings?

Please let me know if it works.

August 25, 2023 at 9:05 am #14290415

andrejH-4

Hi,

we are using the String Translation plugin. We have translated this Learnpress plugin with it, however, when we enter the translation of these buttons which are visible at the start of the quiz (screenshot above) they are not translated (they are still in English). Everything else is translated and works fine.

Thanks!

Best regards,

August 25, 2023 at 9:34 am #14290571

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

August 28, 2023 at 8:00 pm #14303153

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

We apologize for the inconvenience, but in order to proceed with troubleshooting, we kindly request a site snapshot. Alternatively, with your permission, we can create a snapshot on our own.

For this purpose, we typically recommend using the free plugin "Duplicator." If you are already familiar with how Duplicator works ( https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To assist you further, please follow these instructions:
Watch the Duplicator instructions video: hidden link

Refer to the instructions provided by WPML on how to provide supporters a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

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

Once you have the archive file, please share the link with us. You can use services such as Google Drive, Dropbox, or similar platforms as the snapshot file will likely be large.

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

August 29, 2023 at 6:37 am #14304095

andrejH-4

Hi,

there is a duplicator plugin installed at the staging website, can you please take a snapshot with things that you need? (the whole package is 20GB)

Thanks!

Best

August 30, 2023 at 1:29 pm #14314223

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I'm able to replicate this on our SandBox site. Please allow me to escalate this further to our 2nd Tier assistance.

August 31, 2023 at 4:19 pm #14322447

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

We've checked and it looks like you've not installed the LearnPress WPML add-on as shown in the attached screenshot here hidden link which is required for compatibility purposes as explained here https://wpml.org/plugin/learnpress/

Sorry for overlooking this, kindly install this addon and try translating the strings again using the String Translation. Let me know how it goes.

Screenshot_99.png
September 3, 2023 at 6:47 pm #14332509

andrejH-4

Hi,

we have installed WPML Learnpress addon and are trying to translate strings in the quiz, but it is again not translated. (Everything else is translated well, only this part with the quiz doesn't work).

Please see attached.

Thanks!

Best,

passing-grade-example-translation.png
passing-grade-quiz.png
September 4, 2023 at 4:04 pm #14338461

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

Could you please install the WPML Learnpress addon on your staging site here? hidden link . I need to escalate this to our 2nd Tier Support with that addon.

September 5, 2023 at 7:13 am #14340295

andrejH-4

Hi,

the plugin is installed. 🙂 Please check if you need something else.

Thanks!

Best!

September 5, 2023 at 9:35 am #14342339

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I've shared this add-on with our 2nd Tier Support and I will come back to you once I've feedback.

September 8, 2023 at 10:45 am #14366013

andrejH-4

Hi,

hope that you are fine! I just wanted to follow up on this to check if you maybe found the solution.

We have contacted theme support as well and they suggested us to translate via Loco Translate. Is it possible to use Loco Translate with WPML parallel on the website?

Thanks!

September 11, 2023 at 10:10 am #14374577

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

It looks like this is a known issue and we have an errata here https://wpml.org/errata/translating-strings-from-javascript-files-using-wp_set_script_translations/ . Our devs are working on a solution.

We do have a workaround but let me check with our 2nd Tier Support to see if this can be used on your Website.

September 11, 2023 at 5:28 pm #14378825

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

You can use the JSON file that I've uploaded to your Website via FTP as shown in the attached screenshot to translate those strings. It has to be done this way now until we have a better solution for this. You can consider this a temporary workaround.

hidden link

Screenshot_133.png
Screenshot_134.png

The topic ‘[Closed] String translation error’ is closed to new replies.