Skip Navigation

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

Problem:
The client is experiencing issues with translating certain strings on their website using WPML. Specifically, the button label 'Find Events', the placeholder 'Search for events', and dropdown options 'List, Month, Day' are not translating correctly. Additionally, custom text indicating the next lesson access date is not translating on the Spanish page, though it is available and translated in the backend.
Solution:
We recommend updating your WPML plugins to the latest version to ensure all translations are applied correctly. You can download the latest versions of WPML from here.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open 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, you can contact us directly through our 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.

Tagged: 

This topic contains 0 reply, has 0 voices.

Last updated by Osama Mersal 1 month, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
March 26, 2025 at 5:27 pm #16864711

Nikhil Vishwanath

Hi,

I have fixed the issue with the critical error and updated the Events calendar plugins.

Please check and let me know if you have any issues. Also, you can take a copy of the site on your end and test as well.

Thanks,
Nikhil

March 26, 2025 at 5:29 pm #16864715

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Nikhil,

Thanks for your cooperation. Please check the German events page. (hidden link)

You will notice that the strings are translated correctly.

Best regards,
Osama

March 26, 2025 at 5:39 pm #16864769

Nikhil Vishwanath

Hi,

I have checked the page. Can you please activate the Elementor plugin and the Elementor pro plugin and check it.

It seems like when we add the widgets and the elements using the page builder, the translations are not working. Maybe there is an integration issue.

Here another example, where already translated strings don't show in any language:
German:
hidden link

Here the Strings are translated in WPML:
hidden link

Same issue on Teachers detail pages, the off canvas side menu does not show translated Strings.

Example 2 -
Elementor: Resources Loop item: hidden link

But: the translations of the heading: 'Language:', does not show in front end
hidden link

Please check the screenshots for reference where the string translations are not working.

Maybe there is an issue with integration with Elementor?

Please let us know how we can resolve these issues.

Thanks,
Nikhil

Resurces-Loop-item-string-not-showing-translated.jpg
German-string-for-resouirces-Loop-item.jpg
Strings-not-shown-for-Teachers.jpg
Off-canvas-strings-translated.jpg
Off-canvas-strings-missing.jpg
March 26, 2025 at 5:44 pm #16864863

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Nikhil,

Let's focus on the events page first. I activated the Elementor and Elementor Pro plugins, but the event strings are still translated.

Best regards,
Osama

March 26, 2025 at 5:50 pm #16864899

Nikhil Vishwanath

Hi,

Should we perform a plugin conflict test by activating each plugin once and checking whether the translation works? For the events calendar page.

Let me know and I will do the needful and get back to you.

Thanks,
Nikhil

March 26, 2025 at 5:51 pm #16864911

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Nikhil,

Yes, please activate your plugins one by one and check the issue to know which plugin is causing the issue.

Best regards,
Osama

March 28, 2025 at 4:22 pm #16873802
Nikhil Vishwanath

Hi Osama,

We have followed the process mentioned and found that the issue was resolved on the dev site when we updated the Events Calendar Pro plugin. The translations are working on that page now.

Although now, the issue mentioned at the start of the thread on our Learndash course topics page is still there -
Screenshot added for reference -

We have added this custom text in the child theme functions.php file and have added the translation for this text in the String Translations backend page in WPML.
Expectation: When a user opens a lessons page for the first time, the next lessons availability/access date is saved in the database and is displayed on the page.
Suppose we have three lessons in a course, the access date gets set for the second lesson when the user opens the first lesson. After the date is passed and the second lesson becomes available, then the third lessons access date is saved and is displayed to the user. But in our case the translation seems to only work for the first time. In the second lesson, the text is shown in the default English language (**Check screenshot for reference**)

Even when we switch between languages, for a test user, we open the course in German and Spanish. The German text is translated as expected but when we switch the language for the same user and open a Spanish course, the same text is displayed in the German language. We have checked that this is not a caching issue as we have disabled all caching on the site and checked this.

Please let me know how we can debug this. If you need more details on this we are also available to get on a call to share this with you if needed.

We would appreciate your help with this issue.

Thanks,
Nikhil

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/translate-custom-learndash-string/

german intro testing.png
german course text.png
next section translation.png
March 29, 2025 at 4:29 pm #16875542

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Nikhil,

It's great to hear that the events' strings are translated correctly.

We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at a time and enables other users to find solutions to their questions faster.

Therefore, I've split the other issue and created a new ticket with this issue.

Best regards,
Osama