This error message occurs when WPML can’t match a translated XLIFF file with the original one. There are a couple of ways you can fix this issue.
When you download an XLIFF file to translate your content using a CAT (Computer-Aided Translation) tool, WPML assigns an ID that appears in the file. WPML uses this ID to match the translation with the default language. If you make changes to the content on your site before uploading the translated XLIFF file, it changes the ID number and makes it impossible to match the translation with the original.
Fix #1: Edit the XLIFF File to Match the Updated ID
To do this:
- Send the page you updated for translation again.
- Go to WPML → Translations and export the new XLIFF file.
- Instead of translating it again, simply open the file and find the updated ID. It will look something like this:
<file original="116-1222155817dc90f4c385e8514c85ed7a" source-language="en" target-language="it" datatype="plaintext">
- Open the translated XLIFF file and update the ID to match.
- Upload the translated XLIFF file from the WPML → Translations screen.
Fix #2: Retranslate the Translation Jobs
If you don’t want to edit the XLIFF file, you can generate a new file with the correct ID by sending the translation job to be translated again. Please note that if your CAT tool does not have a translation memory, you will need to translate the page from scratch.
- Send the page you updated for translation again.
- Go to WPML → Translations and export the new XLIFF file.
- Open and translate the file using your preferred CAT tool. The new XLIFF file this generates will match the original XLIFF ID correctly.
- Upload the translated XLIFF file from the WPML → Translations screen.
For more information about working with XLIFF files, see our documentation about configuring XLIFF file options generated by WPML and using desktop CAT tools.