This thread is resolved. Here is a description of the problem and solution.
Problem:
You need a function or method to translate specific words as shown in your screencast.
Solution:
To make your custom text translatable, we recommend wrapping all static texts in gettext calls such as
__()
and
_e()
. After doing so, navigate to WPML → Theme and plugins localization and scan your child theme for new strings. This action will register them in WPML’s String Translation, where you can then provide translations.
For detailed guidance on adding gettext calls to your PHP code, please visit:
How to Internationalize and Translate WordPress Themes and Plugins
To learn more about scanning a theme or plugin to update existing translations, check out:
Scanning a Theme or Plugin to Update Existing Translations
If this solution does not apply to your case, or if it seems outdated, we 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. Should you need further assistance, please do not hesitate to open a new support ticket 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.

