Skip Navigation

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

Problem:
The client attempted to use a code snippet from a WPML forum post to exclude the product title from automatic translation for testing purposes, but it did not work. The client actually wants to exclude only the main product description from automatic translation while keeping the title and short description translatable.
Solution:
We explained that the provided code was a basic example and needs adaptation to meet specific requirements. Since the client wants to modify WPML’s default behavior, which is complex, we recommended consulting with a certified WPML contractor for tailored assistance. A list of certified freelancers can be found at https://wpml.org/contractors/.

If this solution does not apply to your case, or if it seems outdated, please check the related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if further assistance is needed. You can do so at WPML support forum.

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

Last updated by Marcel 4 weeks, 1 day ago.

Assisted by: Marcel.

Author Posts
May 14, 2025 at 7:39 am #17030571

mildaS-2

I tried the code from this post to exclude the product title from translation, just for testing purposes:

https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/#post-13051837

Unfortunately, it didn't work - the product title was still translated.
But actually, what I really want is to exclude only the main product description from automatic translation (the long description), while keeping the title and short description translatable.

Can someone please help me find a working solution to exclude only the product description (not the title or short description) from being automatically translated?

https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/#post-13051837

May 14, 2025 at 7:41 am #17030606

Marcel
Supporter

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

Timezone: Europe/Madrid (GMT+02:00)

Hi,

The code I shared is just a basic example — you'll need to adapt it to fit your specific requirements. It's meant to illustrate the general concept of what's needed.

Please note that you're asking to modify WPML’s default behavior, which limits the level of detail we can provide.

If you need more tailored assistance, I recommend reaching out to a certified WPML contractor who can help you implement the changes. You can find a list of certified freelancers here: https://wpml.org/contractors/.

Best regards,
Marcel