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: Action needed - UI/UX
This topic contains 12 replies, has 3 voices.
Last updated by hassanM-11 3 weeks, 6 days ago.
Assisted by: Giuseppe Toto.
| Author | Posts |
|---|---|
| March 11, 2026 at 7:21 am #17887587 | |
|
hassanM-11 |
Hello, Thank you |
| March 11, 2026 at 11:22 am #17888352 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, We have received your request, and either I or someone from the support team will handle it. In the meantime, to help us assist you more quickly and identify the issue correctly, I would like to ask you to provide admin access. This will allow us to replicate the issue, gather more details, and provide an effective solution in a shorter time. Thank you, |
| March 11, 2026 at 2:39 pm #17889313 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Thanks. I have seen that you have already enabled some options in WPML Setting to remove translated posts when the original post is removed (see the screenshot). Can you explain whether you enabled these options after the posts had already been translated and after the original posts had been removed? Please also provide the exact steps to reproduce the issue, because it is not clear which posts are involved, what you expected to happen, or any useful links for the investigation. Please also share some screenshots or a video where the issue is visible. |
| March 12, 2026 at 6:36 am #17890829 | |
|
hassanM-11 |
Hi Giuseppe, I have attached two screenshots to explain my problem. The problem is with Property Listings. Please go to Dashboard > Real Estate > Properties, you will note that the original English Property Listings are showing only 409, however Arabic and Azerbaijani both showing as 852. I read your response very carefully, and maybe, this is possible that we enabled this option after the posts had already been translated. To clear this mess and reduce the possibilities of being fined from the government, I decided to remove all Arabic and Azerbaijani property listings and translate from scratch but this will consume more credit and time, so I did not do it. I am seeking your support to help us find a way that these translated property listings should match the original listing. Please help! |
| March 12, 2026 at 5:03 pm #17893409 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Thanks. Could you also share some post links where the original language has been removed but the translations are still present? This will help me identify the best approach to clean up those records. In the meantime, I've discovered something new worth sharing. First, I want to clarify that the WPML option to remove translated content when the original post is deleted is actually enabled correctly — so the problem seems not related to that setting. It looks like in the past "az" (Azerbaijani) was used as the primary language. As a result, there are 411 posts that were originally created in az and then translated to ar but not in English. (see the query and screenshot that I attached). At some point the primary language was switched to English, and from that point 443 posts were created in English and translated to both az and ar. This means the current content breakdown is: - English: 443 posts (primary language) In conclusion, the 411 az posts with no English counterpart — and their 411 ar translations — are the records we need to address. Could you confirm whether this content is still relevant, or if it can be removed? |
| March 13, 2026 at 5:34 am #17894218 | |
|
hassanM-11 |
Dear Giuseppe, Please find my response below: 1. Could you also share some post links where the original language has been removed but the translations are still present? This will help me identify the best approach to clean up those records. REPLY: 2. At some point the primary language was switched to English, and from that point 443 posts were created in English and translated to both AZ and AR. Could you confirm whether this content is still relevant, or if it can be removed? REPLY: IMPORTANT: Thank you and Best Regards |
| March 13, 2026 at 12:11 pm #17895436 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, I can remove all posts where AZ or AR is set as the primary language. Before I proceed, please confirm that you have a backup available. I also want to clarify that I cannot be held responsible for any critical issues that may occur during the removal process. For this reason, I strongly recommend making sure that you can restore a saved backup at any time. In any case, I will first test the deletion process in a safe environment to reduce the risk that something might go wrong. After that, I will apply the changes to your website. Regarding your rule request, we do not currently offer support for automatically translating only for specific type posts, but this feature is already in our queue, and I can ask to increase the priority. For now, you can either select the content you want to translate manually or enable the Autotranslation feature to translate all post types automatically on your website. Regarding the match issue, we can check it together, but after I clean your website, you will need to provide the lists affected by this issue. So far, the issue is not related to translated posts not being removed, but rather to the fact that you changed the primary language in the past. For this reason, the count you currently see is different. Please let me know once you have a full backup of your website and are able to restore it in case of any problems. |
| March 16, 2026 at 5:34 am #17898704 | |
|
hassanM-11 |
Hi Giuseppe, Our website is backed up twice a day so you can remove all posts where AZ or AR is set as the primary language. We agree with your plan: "In any case, I will first test the deletion process in a safe environment to reduce the risk that something might go wrong. After that, I will apply the changes to your website. We understand: "I cannot be held responsible for any critical issues that may occur during the removal process." Please proceed. Thank you |
| March 18, 2026 at 5:57 am #17906241 | |
|
hassanM-11 |
Hello, Its been five days, we never heard back from you. Is this how your support works? This issue is very urgent. Please fix this as a priority. Thanks |
| March 18, 2026 at 3:10 pm #17908612 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, sorry for the delay. I am going to try to clean the records in my safe environment, and after that I will apply the changes as agreed. I will provide you with an update as soon as possible. Just to clarify, we do not provide support during the weekend, and we do our best to assist all clients, so it is normal to wait a few working days after your last reply. However, please do not worry — we have not forgotten about you. |
| March 18, 2026 at 5:34 pm #17908973 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, I built and installed a custom plugin called WPML Debug Tools that allowed me to safely identify and remove orphaned translation records from the database. The plugin includes two tools: 1. Posts From a Previous Primary Language (see screenshot 1) This tool identified all posts that were created or translated when Azerbaijani was the primary language of the site. After the switch to English, these posts were left without an English counterpart and were no longer reachable through the normal WPML workflow. I used this tool to permanently remove them. 2. Translations With Removed Primary Post (see screenshot 2) On a related note, WPML has a setting to automatically delete translations when the original post is removed — this is now correctly enabled on your site, so this issue should not occur again in the future. That said, please make sure to verify this behaviour whenever you delete a post in English. In conclusion, the database is now clean and properly aligned. Posts in secondary languages (Azerbaijani and Arabic) are now fewer than posts in English, as expected (see screenshot 3). Please let me know if you notice anything unexpected or have any questions. Best regards |
| March 23, 2026 at 1:12 pm #17918731 | |
|
hassanM-11 |
Dear Giuseppe, Thank you for your support. We are currently reviewing the property listings and other content on the website and will inform you if we find any issues. However, despite the setting you shared in your previous screenshot ("when deleting a post, delete translation as well"), we have noticed that the number of translated property listings is higher than the actual number of properties. Screenshot attached. Could you please check this and clarify the reason? We want to fix this issue as soon as possible. Thank you and best regards, |
| March 25, 2026 at 4:30 pm #17927139 | |
|
Giuseppe Toto WPML Supporter since 12/2025 Languages: English (English ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hi, Yes, I confirmed that you still have some orphan records. You can clean them manually by going here: However, I checked whether the "when deleting a post, delete translation as well" option works properly by removing the post In fact, the translated link Here are the steps you can replicate yourself to verify that translated posts are cleaned when the original post is removed:
So, this means that everything seems to be working correctly. At this point, I suspect that you may be using some automation scripts that remove the posts directly from the database, without going through the WordPress function wp_delete_post() , which triggers hooks such as after_delete_post (see the documentation: If that hook is not triggered correctly, the WPML translation cleanup logic does not run, and you may end up with orphan records. So, could you please clarify how you are removing your posts? ? In any case, to remove a post automatically, you need to use the method wp_delete_post in your automation script. Anyway, you can always clean the orphan posts manually by going there with the plugin tool that I created for you, but remember this is a temporary solution, and I can’t ensure that it will work forever: |
| April 2, 2026 at 5:24 am #17944742 | |
|
hassanM-11 |
Thank you very much Giuseppe Toto. We have observed the site for a few days and it seems to be working fine now. We will get back to you in case there's any further issue. Thank you very much for your practical support. Best Regards! |








