<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***
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.
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.