Problem:
You are using a template with strings that should be translated using WPML. The string translation functionality finds the strings, and you have provided translations. However, the English versions of the strings show on the frontend unless 'Look for strings while pages are rendered' is enabled.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1) Ensure you have upgraded to the latest version of WordPress and WPML. Specifically, for WPML, ensure you are using version 4.6.15 or later, which includes a fix for similar issues.
2) Increase the
of PHP settings to
. For guidance on how to do this, please check this article.
3) Visit the WPML>>Support page, click on the Troubleshooting link, and on the Troubleshooting page, perform the following actions in the 'Clean up' section, waiting for confirmation of processing after each one:
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Fix WPML tables collation
- Assign translation status to duplicated content
- Fix terms count
- Fix post type assignment
- Cleanup and optimize string tables
- Show custom MO Files Pre-generation dialog box>>Generate .Mo files
If the solution provided here becomes irrelevant due to updates or does not apply 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 issues persist, please open a new support ticket.