Skip to content Skip to sidebar

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

Problem:
The client needs a code snippet so that WPML translates only product titles.
Solution:
We currently do not have a built-in function or a custom snippet specifically for this request. We recommend creating a custom solution. As a starting point, you can refer to this example on how to exclude specific fields from automatic translation: https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/. In the example, replace "title" with "product_title" or any other field you wish to exclude, such as "description" or "short_description".

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please open a new support ticket 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.

This topic contains 2 replies, has 1 voice.

Last updated by Marcel 3 weeks, 3 days ago.

Assisted by: Marcel.

Author Posts
March 12, 2026 at 12:05 pm #17892269

Tomas Bagaciunas

please give me code snippet , so wpml would translate only product titles

March 12, 2026 at 12:08 pm #17892277

Tomas Bagaciunas

dont close this ticket

March 13, 2026 at 2:16 pm #17895840

Marcel
Supporter

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

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

Hi,

We do not currently have a specific built-in function to achieve this nor can't we provie you with a full custom snippet for that.

I recommend creating your own custom solution for your use case. As a starting point, you can try something like this:
https://wpml.org/forums/topic/do-not-translate-title-with-automatic-translation/

In the example, you can replace "title" with any other field you want to exclude, such as "description", "short_description", or other fields as needed.

Best regards,
Marcel