This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where translations are inserting unwanted
tags in the HTML across the website, which are not present in the original English text. This issue is visible on the homepage and menu, and there are [returns] in the backend text editor that should not be there.
Solution:
We have consulted with the developers of the Advanced Translation Editor (ATE), and they provided the following insights and suggestions:
1. When segments are manually joined, they are combined with a \n (e.g., joining phrase1 and phrase2 results in phrase1\nphrase2).
2. For the pages in question, it appears the segments may have been manually joined.
To address this, they suggest:
- Unjoining the segments, which should resolve the issue.
- Alternatively, updating the translations using the previously recommended solution.
Currently, there is no batch solution to address this issue comprehensively. The only option available is to fix it manually. Our developers are considering creating a script to automate the process, but it will require time as it may introduce additional complications.
If this solution does not apply to your case, or if it 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 issue persists, please open a new support ticket at WPML support forum 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.
