{"id":2698962,"date":"2018-09-03T13:32:38","date_gmt":"2018-09-03T13:32:38","guid":{"rendered":"https:\/\/wpml.org\/?p=2698962"},"modified":"2018-09-03T15:29:53","modified_gmt":"2018-09-03T15:29:53","slug":"acfml-0-9-beta","status":"publish","type":"post","link":"https:\/\/wpml.org\/zh-hans\/announcements\/2018\/09\/acfml-0-9-beta\/","title":{"rendered":"ACFML 0.9 beta with bug fixes and an improved workflow for translating repeater fields"},"content":{"rendered":"<p>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. <\/p>\n<p>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\u2019s go over the most important fixes and changes in this release. <\/p>\n<h2>Improved repeater fields translation workflow<\/h2>\n<p>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. <\/p>\n<p><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields.png\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields-1024x384.png\" alt=\"\" width=\"1024\" height=\"384\" class=\"aligncenter size-large wp-image-2699009\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields-1024x384.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields-150x56.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields-300x113.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields-768x288.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Translation-prefrence-of-the-main-field-is-copied-to-all-the-subfields.png 1167w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h2>Original language field values are displayed when translating posts\/pages<\/h2>\n<p>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.<\/p>\n<p><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages.png\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages-1024x403.png\" alt=\"\" width=\"1024\" height=\"403\" class=\"aligncenter size-large wp-image-2699020\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages-1024x403.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages-150x59.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages-300x118.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages-768x302.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Original-language-field-values-are-displayed-when-translating-postspages.png 1435w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<h2>Field group display rules are applied to translated posts<\/h2>\n<p>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 \u201cMy test post\u201d only.<\/p>\n<p><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules.png\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules-1024x146.png\" alt=\"\" width=\"1024\" height=\"146\" class=\"aligncenter size-large wp-image-2699033\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules-1024x146.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules-150x21.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules-300x43.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules-768x110.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Field-group-display-rules.png 1398w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>ACFML 0.9 automatically applies the same field group rules to the translated posts\/pages.  <\/p>\n<h2>Try it and give us your feedback<\/h2>\n<p>ACFML 0.9 is still in beta. To download it, go to your <a href=\"https:\/\/wpml.org\/account\/downloads\/\" rel=\"noopener\" target=\"_blank\">WPML account downloads page<\/a> and switch to <strong>Beta<\/strong>. Download the plugin files, upload it then activate it on your website. <strong>We highly recommend backing up your website before upgrading to the latest beta<\/strong>. <\/p>\n<p><a href=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta.png\"><img decoding=\"async\" src=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta-1024x654.png\" alt=\"\" width=\"1024\" height=\"654\" class=\"aligncenter size-large wp-image-2699046\" srcset=\"https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta-1024x654.png 1024w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta-150x96.png 150w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta-300x192.png 300w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta-768x490.png 768w, https:\/\/wpml.org\/wp-content\/uploads\/2018\/09\/Download-ACFML-0.9-beta.png 1267w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>We have a detailed tutorial on <a href=\"https:\/\/wpml.org\/documentation\/related-projects\/translate-sites-built-with-acf\/\" rel=\"noopener\" target=\"_blank\">how to translate sites built with ACF using WPML<\/a>.<\/p>\n<p>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 <a href=\"https:\/\/wpml.org\/forums\/forum\/english-support\/\" rel=\"noopener\" target=\"_blank\">support forum<\/a> and leave a comment here with a brief description and a link to the thread.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have been using Advanced Custom Fields on your m [&hellip;]<\/p>\n","protected":false},"author":76577,"featured_media":2699075,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"ep_exclude_from_search":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-2698962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements"],"_links":{"self":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/2698962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/users\/76577"}],"replies":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/comments?post=2698962"}],"version-history":[{"count":2,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/2698962\/revisions"}],"predecessor-version":[{"id":2699581,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/posts\/2698962\/revisions\/2699581"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media\/2699075"}],"wp:attachment":[{"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/media?parent=2698962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/categories?post=2698962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpml.org\/zh-hans\/wp-json\/wp\/v2\/tags?post=2698962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}