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 1 year, 3 months ago.

Assisted by: Long Nguyen.

Author Posts
February 28, 2024 at 9:24 am #15352797

edwinv-4

I have export XLIFF files, but many rows in it contain ACF labels info, like "email, title, subtitle" etc. How I can exclude labels and left only values for translation?

acf_labels_xliff.jpg
February 28, 2024 at 9:56 am #15352923

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

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

Hi Edwin,

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

You can add the code below to the file wp-config.php, right before the /* That’s all, stop editing! Happy publishing. */ line:

define( 'ACFML_EXCLUDE_FIELD_GROUP_STRINGS_IN_POST_JOBS', true );

to exclude ACF field labels from the XLIFF file.

Refer documentation https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/translating-acf-field-labels-with-wpml/#excluding-field-labels-from-the-advanced-translation-editor

Looking forward to your reply.
Thanks

The topic ‘[Closed] Exclude labels of the ACF fields from xliff file’ is closed to new replies.