Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
If you're experiencing issues where your translated pages are not updating when the original French real estate listings change, it might be due to the WP All Import plugin not triggering the necessary 'save_post' WordPress hook that WPML relies on to recognize and translate new or updated content.
Solution:
First, ensure that after importing your listings, you manually trigger the 'save_post' hook. You can do this by going to the properties list, setting 'Screen Options' to show 200 items per page, selecting all items, and choosing 'Edit' from the 'Bulk actions' dropdown. Without making any changes, click the 'Update' button. This action should force the trigger of the 'save_post' hook, allowing WPML to detect and translate the updated content.
Additionally, we recommend contacting the WP All Import support to inquire if they can provide a method to automatically trigger this hook after imports are completed. This would automate the process and reduce the need for manual updates.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, please check related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening a new support ticket with us for further assistance.

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: 

This topic contains 19 replies, has 0 voices.

Last updated by Christopher Amirian 8 months, 2 weeks ago.

Assisted by: Christopher Amirian.

Author Posts
August 13, 2025 at 3:19 pm #17318373

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Ok thanks. Would you please give us more information on how you do the XML automation?

In general, WPML needs the "save_post" WordPress hook to be triggered to do the translation.

https://developer.wordpress.org/reference/hooks/save_post/

Adding a post automatically without invoking that hook will not work.

Thanks.

August 14, 2025 at 12:06 pm #17320884

anaisT-4

Hello,

My XML file is imported using wp all import. All the ads are in French, there is no English translation, that's why I chose WPML for the automatic translation of the content.

2025-08-14_14-04-10.png
August 17, 2025 at 3:00 pm #17325516

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you. It seems that the WP All import plugin does not trigger the save_post hook to make WPML understand that there is a new item is added.

After the import, please go to the properties list.

From the top right "Screen Options" make sure that it shows 200 items per page.

Then select all the items by clicking the top left checkbox. And at the top Bulk actions item. Select the Edit option when all the properties are selected and click the Edit button.

It will show an edit screen like the attached screenshot.

Without touching anything, click the update button.

That will force the save_post hook trigger without changing a thing on the default language.

See if WPML picks up the new content after that.

Thanks.

Screenshot 2025-08-17 at 6.59.36 PM.png
August 18, 2025 at 7:31 am #17326361

anaisT-4

Hello, indeed, by following your advice, the property translation was done automatically. Thank you for your help. However, it's a shame that the hook isn't triggered because that requires regular monitoring. Thank you.

August 18, 2025 at 7:54 am #17326505

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

You're welcome.

I suggest that you contact the WP All import and ask them to provide you a way when the import is complete. If such a hook is available, then you wil be able to create a PHP snippet and trigger the save_post as soon as the import is finished by WPML All import.

Thanks.