 brockM
|
Background of the issue:
I am trying to resolve an issue with importing on my site hidden link. I have a previous support ticket, #17391995, and it seems my message didn't post properly. https://wpml.org/forums/topic/importing-not-working/
Symptoms:
Importing not working
Questions:
Need help with importing
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Hello,
I wanted to let you know that I am currently testing this isssue on your staging site and I will get back to you once I was able to figure out what is triggering this issue.
Best regards
Andreas
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Note that you can not use "WPML All Import" to create translations or to update existing translations.
Source:
https://wpml.org/documentation/related-projects/legacy-wpml-all-import/importing-multiple-languages-with-wp-all-import-and-wpml/#adding-translations-when-the-default-language-content-already-exists-on-the-site
This import will only be successful if you import the original content and the translations to a new site.
On my test site, this worked as expected with your import files.
One-Click-Login:
hidden link
---
Possible reasons for the issue on your site:
The import will fail if the original content was NOT imported with "WPML All Import".
It seems in your case, the original content already existed on the site and was simply updated with "WP All Import". Is this correct?
Workaround:
Remove the translations and the original pages from the site. Then run complete new imports, creating new original pages and translations.
Now, in your case, there might be another issue, as your original pages are subpages and your imports do not include any hierarchical information. It might even be advisable to also import the post_parent in such a case, by using a custom PHP Snippet:
hidden link
---
Note that our "WPML All Import" addon is a legacy plugin.
Alternative:
Use our new addon "WPML Export & Import" to create exports and imports:
https://wpml.org/documentation/related-projects/wpml-export-and-import/
Guide:
hidden link
|
 brockM
|
Let me take a look at the plugin you have mentioned and see if that works
|
 Andreas W.
WPML Supporter since 12/2018
Languages:
English (English )
Spanish (Español )
German (Deutsch )
Timezone:
America/Lima (GMT-05:00)
|
Thank you for your message!
I am glad to hear that you will give "WPML Export & Import" a try. Let me know if further assistance will be needed.
Sidenote:
I just read again my last comment and realized an error.
I wrote "The import will fail if the original content was imported with WPML All Import".
This was supposed to read:
The import will fail if the original content was NOT imported with "WPML All Import".
My apologies if this caused any confusion.
|