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.

This topic contains 1 reply, has 2 voices.

Last updated by Mohamed Sayed 1 year, 4 months ago.

Assisted by: Mohamed Sayed.

Author Posts
March 30, 2024 at 8:39 pm #15466809

gabrielS-38

Tell us what you are trying to do?
I have some categories I would like to translate (category slug, and name) but there are also some custom fields created with CMB2, that I do not want to translate, because this custom fields were created for the category color, and catregory image, and they are the same for all the languages.

I have searched on WPML > Settings, and I can see that there is a section "Custom Term Meta Translation". All my category custom fields appear on that section, but they are by default selected as "Don't translate". I don't understand why if this fields are as "Don't translate" tey appear editable on the different lannguages. Please see images attached. I would expect this fields to not be translatable, and hence do not apear on my translation languages (only in english wich is my default language).

Is there any documentation that you are following?
nope

Is there a similar example that we can see?

What is the link to your site?

wpml'03.png
wpml'02.png
wpml'01.png
March 31, 2024 at 1:51 pm #15467358

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

The "Custom Term Meta Translation" settings control how WPML handles the values of your custom fields. It will show/hide those values in the translation editor based on the settings set for each custom field. Please check this doc for more info: https://wpml.org/documentation/getting-started-guide/translating-custom-fields/#2-decide-how-to-translate-custom-fields

The screenshot shows that you're editing the translated categories manually so it's expected to see the fields there. WPML can't hide those fields from the category editing screen.

If you want those fields to have the same value across languages, you need to switch them to the "Copy" option instead of "Don't Translate".

Kind regards,
Mohamed