דלג על ניווט
3

If you have been using Advanced Custom Fields on your multilingual website, most probably you are familiar with the repeater fields feature. It comes handy as it allows you to create a set of subfields that can be repeated while editing your post, page, or custom post type.

To facilitate the process of translating the websites you are building with Advanced Custom Fields using WPML, we released Advanced Custom Fields Multilingual (ACFML) 0.9 beta. Let’s go over the most important fixes and changes in this release.

Improved repeater fields translation workflow

In older versions of ACFML, you had to set the translation preference of each subfield individually in each post, page, and custom post type. ACFML 0.9 offers an easier workflow to translate repeater fields. Simply set the translation preference for the main repeater and automatically the same translation preference is applied to all subfields.

Original language field values are displayed when translating posts/pages

This feature is very helpful as it will save you the hassle of navigating back and forth between the original language post and the secondary language post to add the translated text. The original field values will show as hint under the secondary language field.

Field group display rules are applied to translated posts

With ACF, you can choose to display the custom fields on all posts/pages or a specific post/page. In the image below, you can see that we have set the field group to be displayed on the “My test post” only.

ACFML 0.9 automatically applies the same field group rules to the translated posts/pages.

Try it and give us your feedback

ACFML 0.9 is still in beta. To download it, go to your WPML account downloads page and switch to Beta. Download the plugin files, upload it then activate it on your website. We highly recommend backing up your website before upgrading to the latest beta.

We have a detailed tutorial on how to translate sites built with ACF using WPML.

We would love to know what you think about the new features in ACFML 0.9. Feel free to share your thoughts in the comments section below. In case you encounter any issues, please report them in our support forum and leave a comment here with a brief description and a link to the thread.