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.
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:
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
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.