WPML – Advanced Custom Fields Multilingual 1.7.4
This tutorial explains how to translate sites that are built with the Advanced Custom Fields (ACF) plugin and WPML. All you need to do is configure WPML to translate ACF’s fields, including the repeater fields and flexible fields.
One of the most important features of WPML’s integration with Advanced Custom Fields plugin is the ability to translate the repeater fields. The following image displays how this is easily done using WPML’s Advanced Translation Editor.
In case you want to have a different number of repeater fields for different languages, we recommend that you set the translation preference to Copy once. This allows you to edit the translated version of the post or page and have any number of repeater fields you want.
As of ACFML 1.7.0, You can also disable the synchronization of the repeater field across languages. This means you can manually set the order of the fields for each language. To do this, uncheck the Sync repeater sub-fields positions in post translations box that appears under the field.
It is also worth mentioning that if you set the translation preference of the main repeater field or flexible field to Don’t Translate, Copy once, or Translate, you will see a yellow bulb tooltip icon. By hovering over the tooltip icon, you will see a message that recommends setting the repeater field or flexible field to Copy, in case you encounter any issues with translating subfields.
- Requirements and installation
- Making the ACF fields translatable
- Translating ACF fields
- Translating option pages custom fields
- Translating ACF blocks