Skip Navigation

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

Problem:
The client is trying to translate the string 'YOU MAY ALSO LIKE' to other languages, but it only appears in English. This string is part of the theme used on their website.
Solution:
If you're experiencing this issue, we recommend trying the following methods to locate and translate the string:
Method 1:
Navigate to WPML > String Translation. At the bottom of the page, enable the option 'Look for strings while pages are rendered' by checking the box. Then, visit the page where the string is displayed and return to WPML > String Translation to search for the string.
Method 2:
If the string is not found in WPML > String Translation, it might be categorized as an admin text string. You can find and translate admin text strings by following the documentation here: Translate Admin and Settings Strings
and related documentation here: Finding Strings that Don't Appear on the String Translation Page

If these methods do not resolve your issue or the solution 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. If the problem persists, please open a new support ticket for further assistance.

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 0 voices.

Last updated by rikkeR 1 month ago.

Assisted by: Mihai Apetrei.

Author Posts
January 27, 2025 at 11:40 am #16637409

rikkeR

Background of the issue:
I am trying to locate the string for 'RELATED POSTS' in English: 'YOU MAY ALSO LIKE' and translate it to all other languages. The issue can be seen on this page: hidden link. The last headline on the page should be translated to Danish: 'MÅSKE KAN DU OGSÅ LIDE'. The string is from the theme.

Symptoms:
The string 'YOU MAY ALSO LIKE' only shows in English and is not translated to other languages.

Questions:
Where can I find the translation string for 'RELATED POSTS'?
How can I ensure the string is translated to all languages?

January 27, 2025 at 11:45 am #16637481

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.

Moreover, the proper method for translating strings greatly depends on how they have been incorporated into the theme/plugin. Some plugins might not even be written in a way where the coded strings are implemented in an "internationalized" way so that is why no multilingual plugin might be able to see the strings out of the box without some extra work upfront.

IMPORTANT: Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated.

Also, sometimes, simply removing the string (checking the box and removing it) and then re-registering it again by scanning for it (one of the methods below) and re-translating it resolves the issue.

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 afterward 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/

Please keep me informed about your progress.

Mihai Apetrei

January 27, 2025 at 12:09 pm #16637565

rikkeR

THANKS, Method one opened the strings in plugins and themes, where I could resolve this.