This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing issues with importing posts and categories using WPML and WP ALL Export > Import Pro. Specifically, 154 posts were skipped during the language setting process, and there were difficulties in linking categories due to the absence of a translation ID as a unique identifier.
Solution:
We recommend exporting the categories into a CSV file and adding a new column for a unique identifier. Assign numbers (e.g., 1, 2, 3, etc.) for each category and use these numbers as unique identifiers during the import process. This approach should help in correctly assigning and linking the categories across different languages.
If this solution does not resolve the issue or seems outdated, we 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. Should the problem persist, please do not hesitate to open a new support ticket for further assistance at WPML support forum.
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.
Tagged: Exception
This topic contains 10 replies, has 2 voices.
Last updated by Dražen 3 months, 3 weeks ago.
Assisted by: Dražen.
Author | Posts |
---|---|
October 10, 2024 at 12:57 pm #16275165 | |
maurizioM-27 |
Background of the issue: Symptoms: Questions: |
October 14, 2024 at 7:04 am #16284160 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for contacting us. Please try to re-do the process by following the next guide: - remove everything you already imported from your 2nd website - Go to 1st website, make sure you are using WPML All import and WP All Export https://wpml.org/download/wpml-all-import/?section=changelog - Export your posts, and make sure you are also exporting WPML-related data, like translation group. - Go to your 2nd website and select to import this, make sure you have selected the correct default language and translation group as your unique identifier - Once the default language is imported, confirm all is good and do the same for 2nd language. Please check the next related docs: Let me know how it goes and if you need any help. Regards, |
October 16, 2024 at 10:18 am #16294747 | |
maurizioM-27 |
i did the process with the best of my attention but still a failur and no more then 200 TRID have been handled I have a captured the process and details in pdf file. Let me know how you can help to proceed |
October 16, 2024 at 10:25 am #16294772 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, please share both admin access for previous and new website, and explain to me what you need to import / export and I will check and try the import process. Make sure to have backups just in case. Regards, |
October 17, 2024 at 10:20 am #16299448 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks, I will wait for 2nd website and check it out. Please note that posts, pages and categories, should not have same name / slug in different languages as this will cause issue. I advise you adjust this before I try to import/export it. You would need PRO version to be able to import categories. Categories needs to be first export / imported. Regards, |
October 17, 2024 at 1:36 pm #16300449 | |
maurizioM-27 |
same name / slug in different languages.... I dont think this is the orig of the issue. My biggest problem is the lack of log/tracing when something outside the 200-set has been rejected. WP ALL import/export are both in PRO version to have the best options to transfer data. to login as admin into the new website with username: hospital your username is I tried to login as incognito and I can confirm your first page should be like this in attachment. In case of trouble, I suggest to call me at +352 621 311 274, else the turnover time via email or this chat would be long |
October 18, 2024 at 7:27 am #16302881 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks, but I can not contact you via mobile, we do not provide such support only via forum and chat. As for categories, okay we can skip this, since names are same in differ languages, you can fix this later and re-import all content again. As for posts import, I am trying to test, but I think you have not understood me the first time correctly. I suggested and will follow the next guide: https://wpml.org/documentation/related-projects/legacy-wpml-all-import/importing-multiple-languages-with-wp-all-import-and-wpml/ For this guide, we do not use WPML Import Export, but WPML All Import add-on. I have installed it on the old website, but can not on new one, I think I do not have permission. What I advise to speed things up, is that you install and follow guide on both website, import/export and let me know how it goes. Please note issue with 3rd language and export guide: - https://wpml.org/compatibility/2016/08/export-multilingual-websites-using-wp-all-export-and-wpml/ For you new website, please disable any other plugin, and do the import with only WPML and WP All import plugins, to avoid having any custom code or additional plugins. Regards, |
October 18, 2024 at 8:29 am #16303226 | |
maurizioM-27 |
Hi Drazen, I am afraid that i got confused by all the possible permutation see so far between Also too many "guides" around. I take a short break and follow the last instructious as you have shares: I will give to this task the priority and share a feedback during the day, willing to catch up with your before the weekend stop, also because I am working also during weekends for this new website |
October 18, 2024 at 10:37 am #16303835 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks. Them import thing is you export correct data, and then when importing select the correct language, and wpml translation group ID as connector / unique identifier. It should work fine then. Let me know how it goes. Regards, |
October 25, 2024 at 3:45 am #16328908 | |
maurizioM-27 |
Hi Drazen Indeed I have been able to import the porsta and ahve them properly assigned to the language and linked together. Being for this small website few categorries, I decided to drop this initial step. But when I started importing from the biggest website, I got stuck. I read and an rearead and executed all the most recent procedures you shared (it took days, this is the reason for my silence) but i miserably failed. How can I solve this problem for the categories ? In term of timing, next week I will be travelling from sunday to Friday, an this could make even more complicated this import phase. |
October 25, 2024 at 6:18 am #16329106 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+01:00) |
Hello, thanks for getting back, you are right and seems to be related to a know issue. As a workaround I suggest, to export CSV file, edit it and just add new column unique identifier, and there number 1,2,3,4,,5 and same for other languages. Then when importing just use this field as your unique identifier and it should work just fine. Let me know how it goes. Regards, |