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.

This topic contains 2 replies, has 2 voices.

Last updated by Martynas.V 1 year, 6 months ago.

Author Posts
April 21, 2023 at 8:17 am #13516041

Martynas.V

How to disable advanced custom fields label translation?

April 21, 2023 at 2:46 pm #13518673

Andreas

Hi,

before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

I suppose you wish to disable some specific custom fields from being translated

Please read the follwing :

https://wpml.org/documentation/getting-started-guide/translating-custom-fields/
https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/recommended-custom-fields-translation-preferences-for-acf-and-wpml/

Set the custom fields you wish either to Not Translate or Copy/Copy Once.

If the above is not helping, please give us more details in order to understand better your issue.

Regards,
Andreas

April 24, 2023 at 5:03 am #13524207

Martynas.V

The problem is LABEL of custom field. Not all field itself. I found the solution to add this code in wp-config.php:
define( 'ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', true );