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
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Andreas W. 11 months, 3 weeks ago.

Assisted by: Andreas W..

Author Posts
May 17, 2024 at 2:00 pm #15639945

emanueleV-11

<b>Background of the issue: </b>
I am using WPML to translate my website and ACF for creating custom fields. I am facing issues with the integration of WPML and ACF, particularly with the flexible content modules.

<b>Symptoms: </b>
The translations for ACF flexible content modules are not displaying correctly on my website. Some modules do not appear at all in the translated versions of the pages, while others display incorrect content. Additionally, theme options developed using ACF are not showing in other language versions. An error screenshot is provided: hidden link. Comparison screenshots for theme options in Italian and English are also provided: Italian - hidden link, English - hidden link.

<b>Questions: </b>
Why are some ACF flexible content modules not appearing in the translated versions of the pages?
Why are the theme options not displaying correctly in different language versions?
***CREDENTIALS REMOVED BY SUPPORT AGENT***

May 17, 2024 at 7:40 pm #15640884

Andreas W.
WPML Supporter since 12/2018

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

Timezone: America/Lima (GMT-05:00)

Hello,

Thank you for providing access to the site. Please take note that we are not allowed to access sites unless the credentials were submitted inside our private response form. I can enable this form in a future reply, if still necessary.

1) Please go to WPML > Settings > Post Type Translation and set the post type for ACF Field Groups to "Not translate". This is the new default setting since ACFML 2.0 or higher.

2) Theme Options Pages will need to be translated manually by switching the language inside the top admin bar. I suggest you set the field group to "Different fields across languages" for this purpose. This said, if you use the Expert mode, then fields that are set to "copy" should get copied but are blocked from editing. Fields that are set to "Copy once" should be copied only one time and from there on be editable.

Guide: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/translating-the-acf-options-page-custom-fields-with-wpml/

3) Flexible content fields and Repeater Fields should always be set to "Copy once" if you create the translation with the WordPress Editor or to "Copy" if you create the translations with the WPML Translation Editor.

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

4) If you use the WPML Translation Editor for creating the translations please use the ACF Field Group setting "Same fields across languages".

5) If you use the WordPress Editor for creating the translations, please use the ACF Field Group setting "Different fields across languages".

Please test again now and let me know the results.

Best regards
Andreas

The topic ‘[Closed] Assistance Required for WPML and ACF Flexible Modules Integration Issue’ is closed to new replies.