Summary
A bug has been identified in Advanced Custom Fields Multilingual (ACFML) 2.2.4 affecting websites that use ACF Link or URL fields together with the “Same fields across languages” translation preference. External links may not appear in the Advanced Translation Editor, preventing translators from translating those URLs.
This article provides an independent technical analysis of a known WPML issue based on my own experience supporting multilingual WordPress websites.
Symptoms
You may be affected if you notice one or more of the following:
- Link or URL fields are missing from the Advanced Translation Editor
- External URLs cannot be translated
- Other custom fields appear as expected, but Link fields are absent from the translation job
Who is affected?
At the time of writing, this issue affects websites using:
- Advanced Custom Fields Multilingual 2.2.4
- ACF Link or URL fields
- The “Same fields across languages” translation preference
- The Advanced Translation Editor
Affected version(s)
Advanced Custom Fields Multilingual 2.2.4
Root cause
WPML has confirmed the issue but has not publicly documented the underlying technical cause. The result is that Link and URL fields are not made available to the Advanced Translation Editor when the affected translation mode “Same fields across languages” is used.
Temporary workaround
WPML has published a temporary workaround for this issue. I have made one improvement to their solution by adding a version check.
The original workaround runs indefinitely, even after the issue has been fixed in a future release. By checking the installed ACFML version first, the filter is only loaded while it is actually needed. Once you update to the version containing the official fix, the workaround automatically stops running without requiring you to manually remove the code.
I recommend installing the workaround using one of these methods:
- A small functionality plugin. This is my preferred approach because the workaround can easily be enabled or disabled independently of your theme.
- The Code Snippets plugin. This is an excellent option if you are not comfortable creating a small plugin.
- Your child theme’s
functions.phpif you already have a child theme.
If there is no child theme in place, I do not recommend adding the code directly to your active theme because it will be lost the next time the theme is updated.
/**
* Temporary workaround for the ACFML 2.2.4 Link/URL field translation issue.
*
* This workaround is only required for ACFML versions older than 2.2.5 (2.2.4 and below).
* Remove this code after updating if the issue has been officially fixed.
*/
if ( defined( 'ACFML_VERSION' ) && version_compare( ACFML_VERSION, '2.2.5', '<' ) ) {
add_filter( 'acfml_field_group_mode_field_translation_preference', function( $fieldTranslationPreference, $groupMode, $field ) {
if ( in_array( $fieldType, [ 'link', 'url' ], true ) ) {
return 2; // WPML_TRANSLATE_CUSTOM_FIELD
}
return $fieldTranslationPreference;
}, 10, 3 );
}
Official status
Status: Confirmed by WPML
First reported: May 27, 2026
The WPML support team has confirmed that a permanent fix is planned for the next ACFML release which will coincide with the next release of WPML, to be said aimed for the end of July 2026.
Resolution
No official fix is available yet.
This article will be updated once the corrected version of Advanced Custom Fields Multilingual has been released and verified.
My recommendations
If your website relies on translating external links through the Advanced Translation Editor, I recommend applying the temporary workaround until the official fix has been released.
Although WPML has indicated the issue will be resolved in the next ACFML version, I prefer not to leave temporary workarounds running indefinitely. Adding the version check ensures the filter automatically becomes inactive once the fixed version has been installed, making the workaround safer and easier to maintain over the long term.
Timeline
- May 27, 2026: Issue published by WPML.
- May 27, 2026: Temporary workaround published.
- Pending: Official fix released.
- Pending: This article will be updated after the fix has been verified.
Related Articles
Photo by Felipe Simões on Unsplash