This thread is resolved. Here is a description of the problem and solution.
Problem:
ACF fields link translations aren't applied properly.
Solution:
If you're experiencing issues with ACF fields link translations not being applied correctly, we recommend using WPML hooks to modify the URL to the current language.
Here's a step-by-step guide:
1. Retrieve the subfield link using
$b_link = get_sub_field('link');
2. Apply the WPML filter to fix the translated URL with
$translated_url_fix = apply_filters('wpml_permalink', $b_link['url']);
For more information, please refer to the WPML hook documentation.
If this solution doesn't seem relevant to your issue, please open a new support ticket in the WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 5 replies, has 2 voices.
Last updated by 11 months, 2 weeks ago.
Assisted by: Shekhar Bhandari.