Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
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.
Welcome to the WPML support forum. I will do my best to help you resolve the issue.
This may be a compatibility conflict. Does it happen with other strings' translations of the child theme?
Please upgrade to the latest version of WPML (4.7.2 series) after a full site backup {mandatory} and check if the issue exists or not. You may have to visit Plugins>>Add New>>Commercial tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches.
If the problem remains, please use the following WPML hooks to register the string for translation and list the translation, then make sure you are getting the expected results or not.