Skip to content Skip to sidebar

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

Problem:
The client needed to know how to use a single ACF text field in multiple languages on a WordPress site without having to translate the ACF label.
Solution:
We advised the client that when they create a field in ACF, it is available across all languages and can be accessed from each language within the specified post type. It is important to ensure that the translation settings for the field group containing the field are correctly configured. We recommended using the "ACF Multilingual" plugin and adjusting the translation settings for the field groups and fields within it. We provided a guide for detailed instructions:

We also noted that according to the WPML Debug Information, the plugin was not active on the client's site. We advised the client to install and activate the "ACF Multilingual" plugin and set up the translation mode for the field group.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If so, 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. If the issue persists, please open a new support ticket with us for further assistance.

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 Prosenjit Barman 1 year, 2 months ago.

Assisted by: Prosenjit Barman.

Author Posts
May 6, 2024 at 5:41 pm #15598934

jean-marcd-2

Hello,

I've got a question related to ACF fields and WPML.

When you create one single ACF text field that you want to use in more than one language on the WP site.
Do you have to create it in English only once and it will be available for all languages if associated to a page type for example?

Or do you have to export it as JSON and import it into FR ACF screen changing:
"wpml_field_group_language": "en", TO "wpml_field_group_language": "fr",

What's the best practice to use one single ACF field in all languages? (I do not need to translate the ACF label).

Thank you.

Best regards.

JM

May 7, 2024 at 11:59 am #15601732

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello JM.
Thanks for contacting WPML Support.

I understand your needs. When you create a field in ACF, it becomes available across all languages, and you can easily access it from each language within the specified post type. However, it's crucial to ensure that the translation settings for the field group containing the field are correctly configured. For optimal results when working with ACF on multilingual sites, please use the "ACF Multilingual" plugin and adjust the translation settings for the field groups and fields within it. Please refer to the following guide for detailed instructions:

- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

According to the WPML Debug Information, the plugin is not currently active on your site. Therefore, please install and activate the plugin, and set up the translation mode for the field group.

I hope the information above will help. But, if you need further assistance or clarification, feel free to ask. I will be happy to help.

Best regards,
Prosenjit