Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 1 year, 10 months ago.

Assisted by: Andreas W..

Author Posts
May 17, 2024 at 12:45 pm #15639726

kurtA-8

Hi,
I use for my websites auto translation.

I want to write a plugin that adds variable products or single products to woocommerce.
i use the function new WC_Product_Variable() or WC_Product_Simple(); if i use this function and a product is created is the translation also automaticly done?

Thanks in advance.

May 17, 2024 at 7:50 pm #15640917

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

If you call the "save_post()" function in your code, then it usually should trigger the automatic translation, if "Translate everything automatically" is used as translation mode.

I can offer a WPML test site with a fake translation engine for testing if you would like to give it a try.

Let me know and I will send you a link.

Best regards
Andreas

The topic ‘[Closed] auto translation for code generated woocoommerce product’ is closed to new replies.