This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to import Spanish translations for an existing English custom post type using WP All Import. The necessary custom meta fields are included in the import CSV, but after running the 'Run WPML Import' button, the translated post objects are not associated with the original language post.
Solution:
First, ensure that you import default language posts and then import translated posts. WPML will then connect them based on the same WPML information set in the sheet. If this does not resolve the issue, you can manually connect them or use the following hook to automate the process:
https://wpml.org/wpml-hook/wpml_set_element_language_details/
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. We also 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. For further assistance, please visit our support forum at https://wpml.org/forums/forum/english-support/.
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.