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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 4 months, 3 weeks ago.

Assisted by: Long Nguyen.

Author Posts
July 9, 2024 at 5:45 am #15917753

dirkT-3

Background of the issue:
We are translating products using Translation Manager and duplicating the products for all languages. Overall this works fine. We do bulk product content updates via WP All Import for different languages.

Symptoms:
The info gets overwritten back to the default language info once the original language gets saved.

Questions:
Is there a filter/hook to exclude product description/excerpt/short description from being translated?
Is there a way via custom custom-xml-config rules to exclude product description/excerpt/short description from being translated?

July 9, 2024 at 7:20 am #15918439

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Dirk,

Thank you for contacting WPML support, I’m happy to help you with this issue.

I understand the issue here is: after duplicating the product into second languages and importing changes by using WP All Import, whenever you edit the original product and click on Save, the changes are synced to the translation products.

That is expected behavior. If a translation product is a duplication, everything of the original product will be synced to the translation: title, content, custom fields ... after you edit the original product and click on Save.

There are two ways to unset a translation product as a duplication:
1. Edit the translation product > Click on the button "Translate Independently".
2. Access the database > Table wp_postmeta > Search for the translation product ID > Delete the meta key "_icl_lang_duplicate_of".

Refer documentation https://wpml.org/documentation/translating-your-contents/displaying-untranslated-content-on-pages-in-secondary-languages/#how-to-convert-a-translation-into-a-duplicate

Looking forward to your reply.
Thanks

Edit Post “WPML test post en” ‹ WPML — WordPress 2024-07-09 14-15-34.png

The topic ‘[Closed] Exclude product descriptions for translations’ is closed to new replies.