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.
Our next available supporter will start replying to tickets in about 5.75 hours from now. Thank you for your understanding.
This thread is resolved. Here is a description of the problem and solution.
Problem: I'm trying to import an xml file with all the post from another worpdress installation that manages languages with polylang to a new wordpress installation where I installed Wpml and I'd like it to recognise the post's language Solution: What you are trying to achieve will not work outside the box, by WPML simply recognizing languages, because in default XML WordPress imports there is no language data. You could try the following though:
- https://wpml.org/documentation/related-projects/migrate-polylang-wpml/ - follow this documentation using the "Migrate Polylang to WPML” Plugin (it hasn't been very actively developed for the last few years, though)
- The other option is the following: https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/
So you would need to prepare your XML files as described there.