Changelog
Requires WPML 5.4.0.
What's New
ACF blocks in Beaver Builder layouts can be translated.
- ACF blocks added with Beaver Builder's ACF Blocks feature are translated. Their texts appear in the translation editor, and fields set to Copy keep the original value.
Fixes for Problems that Started in 5.3.0
Secondary-language pages are fast again on sites with many ACF options.
- On secondary-language pages, the options page fallback added in 5.3.0 no longer reads every ACF options row on each page.
Repeaters and Flexible Content
Rows added, edited or removed on the original reach translations correctly.
- Editing a repeater sub-field on the original marks its translations as needing an update again, and reordered rows follow on the translation.
- A row added to a repeater inside a Group field of a WooCommerce product reaches the existing translation once its Translation Editor job is completed.
- A row removed from the original, or a deleted flexible content layout with its nested repeater, is removed from the translation when its job is delivered.
- A new translation made in the WordPress editor gets every row of a paginated repeater, not only the first page.
- With "Keep repeater and flexible sub-fields in the same order", a row that reaches a translation later arrives with its Copy sub-fields filled. Save affected translations once.
Copied Fields on Translations
Fields set to Copy are locked on translations, and nothing else is.
- A copied flexible content field on a translation also locks "More layout actions", so a layout can no longer be renamed or disabled there.
- Copied fields are locked on translated terms of custom taxonomies too, such as taxonomies made in ACF or registered by a theme.
- An image set to "Copy once" inside a Flexible Content, Repeater or Group field set to Copy can be edited on translations again.
Translation Preferences
Every ACF field gets the translation preference you expect, and the screens show it.
- A field registered in PHP without a translation preference gets its field group mode's default, so WPML translates or copies it.
- After changing an ACF block field's preference, "Also update the existing posts" marks the translated block posts as needing an update.
- On the field group screen, a repeater sub-field's translation row shows its own preference, not that of a field with the same name in another group.
- The review dialog names a field that was added in the same save.
- A deactivated field group set to "Different fields" on an ACF block no longer forces posts with that block into the WordPress editor, and the Language panel no longer lists it.
Translation Editor
ACF fields show in the translation editor where you expect them.
- ACF term fields of a post's taxonomies are no longer blank in the Advanced Translation Editor when the term is already translated.
- A clone field's sub-fields appear in the translation editor in the field group that holds the clone, labelled as ACF labels them.
Other Fixes
Options pages and ACF definitions read correctly in more places.
- ACF options page values are no longer empty on admin screens without the WPML language switcher, such as the Gravity Forms editor, Widgets, Permalinks and WPML Import.
- An ACF post type, taxonomy or options page that is imported or saved by code can be read back in the same request.
- The old WPML_ACF_XLIFF_SUPPORT constant no longer has any effect, so post and field group saves no longer write extra Copy preferences on sites that set it.
Performance
Fewer database queries on every page.
- ACF Multilingual no longer runs a database query on every request once its string registration after activation is done.
Update or Download
The update is available to all WPML clients with an active subscription — it appears on the Plugins page in your WordPress admin within 24 hours of release. You can also check for it right away under PluginsAdd New PluginCommercial. To download and install manually, go to Downloads in your wpml.org account (see the installation instructions) and remember to update all components together without mixing versions.
