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.
Thanks for the suggestions. I managed to make it work with the WPML hook.
Best,
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.