Skip Navigation

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

Problem:
The client was trying to translate a string from the string translation text on their website but encountered an issue where the expected translation 'leggi di più' was not appearing, and instead, it showed 'Explore more'.
Solution:
We suggested that the issue might be due to duplicates of the same string, where only one is the correct one that needs translation. We recommended the following steps:
1. Navigate to WPML > String Translation and locate the checkbox 'Look for strings while pages are rendered' at the bottom of the page. Enable this option, visit the page where the string appears, and then return to WPML > String Translation to search for the string again.
2. If the string is not found in WPML > String Translation, it might be registered as admin text. We provided instructions on how to find and translate admin text strings: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, 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 necessary, 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 2 voices.

Last updated by Mihai Apetrei 1 year, 2 months ago.

Assisted by: Mihai Apetrei.

Author Posts
February 23, 2024 at 3:06 pm #15338398

marco-teodoroG

I am trying to:
Translate string from string translation text

Link to a page where the issue can be seen:
hidden link

I expected to see:
leggi di più

Instead, I got:
Explore more

text_not_translated.png
translated_text.png
February 23, 2024 at 3:54 pm #15338605

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

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

Hi there.

Before this ticket gets assigned to my colleagues, I will try to help.

The proper way to translate strings depends a lot on how they have been implemented inside the theme/plugin.

Sometimes, there are even duplicates of the same string and only one of them is the correct one that needs to be translated. This might be the case here.

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.

1. Please try this:

Go to WPML > String Translation and at the bottom of the page you will find a checkbox called "Look for strings while pages are rendered". You can enable (check) that and then go in the front end to a page where you have that string showing up and then go back to WPML > String Translation and search for that string and see if it now shows up.

2. If you can't find them inside the WPML > String Translation, they might be added as admin text.

This should be the normal process to find and translate admin text strings:
https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

Please let us know how that goes.

Kind regards,
Mihai Apetrei