Skip Navigation

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 0 replies, has 0 voices.

Last updated by zakW 12 hours, 33 minutes ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
April 2, 2025 at 12:17 pm #16886939

zakW

Background of the issue:
I have around 15000 products on my site hidden link that I need to duplicate to all the languages (5, including the default one). I am looking for a bulk way of doing this that doesn't require selecting them from the translations management page, as this only allows me to do 100 at a time and is not the fastest method. I am considering using a cron job or a function to speed up the process.

Symptoms:
The translations management page only allows duplicating 100 products at a time, which is not efficient for my needs.

Questions:
Is there a way to duplicate 15000 products to all languages in bulk without using the translations management page?
Can I use a cron job or a function to speed up the product duplication process?

April 2, 2025 at 2:53 pm #16887679

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

I confirmed with our devs. The hooks I shared are precisely to create duplicates of posts, including products. As I said, the creation of code is outside the scope of our support.

Let me know if you have any question about the hooks.

April 7, 2025 at 12:09 pm #16904153

zakW

Hi Lucas,

Thank you for confirming this. I will be running some test today and if I require any assistance with the hooks I will ask here.

Once I have success with the duplications of the products I will mark this as resolved

Thanks

April 8, 2025 at 7:44 am #16907232

zakW

Hi Lucas,

Using the hook definitely works.

I hope that this is implemented to the core of WPML and maybe use a cron job to help with a large volume of products. Makes more sense from an improving functionality point of view.

Thank you for the help with this issue.