Home›Support›English Support›[Resolved] [WPML All Import] How can I Import Translations of Existing Content in Main Lang
[Resolved] [WPML All Import] How can I Import Translations of Existing Content in Main Lang
This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed a workaround to import translations for secondary language posts without creating duplicates of the default language posts, which already have SEO traffic and backlinks. Solution: We explained that it is not possible to directly import translations to existing content as WP All Import requires the unique identifier to connect translated posts with their corresponding default language post. We recommended the following steps: 1. Export the default language content. 2. Import it back with the correct information. 3. Proceed with importing the second language. We also provided documentation for further guidance:
You can not directly import translation to existing content, it will not work. You need to import the default language, following our docs, then import 2nd language. In this case, you can export the default language and then import it back with the correct info and then proceed with 2nd language.
Because WP All Import relies on the unique identifier to connect translated posts with their corresponding default language post, you cannot upload the secondary language file to add translations to pre-existing default language content. If you do this, WP All Import will not know which posts the translations belong to.
Creating duplicates of the default language posts would be very problematic for me since the original posts already gained backlinks from other websites, and they have SEO traffic.
Can I do a workaround for this?
Can I get the unique identifier of the default language post and then set the same unique identifier to the secondary language posts?
I can make changes to the database table values, etc. if needed.