This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where string translations were only working when the 'Look for strings while pages are rendered' option was active.
Solution:
We recommend following these steps to resolve the issue:
1. Navigate to WPML >> String Translation page.
2. Search for the problematic string, for example, 'Sfoglia il catalogo generale', and delete all occurrences.
3. Enable the 'Look for strings while pages are rendered' option.
4. Visit the front end of your site where the string appears.
5. Return to the WPML >> String Translation page, search for the string again, and add the translation.
6. Disable the 'Look for strings while pages are rendered' option.
Additionally, we performed these troubleshooting steps:
1. Used the troubleshooting options from WPML >> Support page.
2. Checked the issue in a minimal environment by deactivating all plugins except WPML.
3. Deactivated and reactivated the theme.
4. Scanned the theme from WPML >> Theme and plugins localization page.
5. Changed the string's text domain to the default 'wordpress' and then back to its original text domain.
These steps helped to resolve what appeared to be a temporary glitch.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket with us.
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.
This topic contains 4 replies, has 2 voices.
Last updated by 1 year, 2 months ago.
Assisted by: Noman.