Skip Navigation

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

Problem:
The client is trying to translate sentences on their website using WPML but needs assistance with locating and translating the correct strings.
Solution:
We recommend trying two methods to resolve this issue:
Method 1:
Navigate to WPML > String Translation and at the bottom of the page, check the option "Look for strings while pages are rendered." Then, visit the front end of a page where the string is displayed, and return to WPML > String Translation to search for that string.
Method 2:
If the strings are not found in WPML > String Translation, they might be included as admin text strings. You can find the typical process for translating these strings here: Translate Admin and Settings Strings
Related documentation can be found here: Finding Strings that Don't Appear on the String Translation Page
Please note, if the strings originate from outside of WordPress, WPML will not be able to detect or translate them.

If this solution does not apply because it is outdated or not relevant to your case, 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. If you still need assistance, please 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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 2 months ago.

Assisted by: Mihai Apetrei.

Author Posts
October 21, 2024 at 9:12 pm #16314444

desireV

Background of the issue:
I am trying to translate sentences on my website using WPML. The site I need help with is hidden link.

Symptoms:
I need assistance with translating sentences.

Questions:
How can I translate sentences using WPML?

October 21, 2024 at 10:54 pm #16314581

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+02:00)

Hi there, and thank you for reaching out.

Certain strings may require a specific procedure to be located and translated. There may also be duplicate strings; we need to find and translate the correct ones.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin.

Please attempt both methods and check if either of them resolves the issue.

Method 1:

Navigate to WPML > String Translation and at the bottom of the page, you will find a checkbox labeled "Look for strings while pages are rendered." You can enable (check) that option, then go to the front end to a page where the string is displayed, and afterwards return to WPML > String Translation to search for that string and see if it now appears.

Method 2:

If you can't locate them within WPML > String Translation, they might be included as admin text strings.

This is the typical process for finding and translating admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/#translate-admin-and-settings-strings

Related documentation:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

PS: There is also something important to mention; if the strings come from outside of WordPress, it would be impossible for WPML to see or translate them.

Please keep us informed about your progress.

Mihai Apetrei