This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to import translated custom post types using WP All Import Pro (WPAI) with WPML. The issue arises where only the first item in the translated import is correctly linked to its French counterpart, while subsequent English posts are created with correct content but remain unlinked. This results in orphan translations because no WPML hooks or WordPress post-save hooks are triggered after the first item.
Solution:
We recommend checking if you have used both WPML addon import plugins, as this might interfere with the import process. Ensure that all settings and checkboxes during the setup are correctly configured. It's crucial to use the correct version of the JSON file for the import, as discrepancies can lead to issues like missing categories or improper displays. If issues persist, consider deleting the problematic posts or restoring the staging site to a version before the problematic import. Additionally, ensure that any necessary taxonomies exist and are translated before importing your posts.
If this solution does not resolve your issue or 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 further assistance is needed, please open a new support ticket at WPML support forum.
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 14 replies, has 1 voice.
Last updated by 5 months, 1 week ago.
Assisted by: Dražen.