Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is using WPML's auto-translation feature with a site built using Advanced Custom Fields (ACF) and flexible content. They have encountered an issue where internal links within an ACF WYSIWYG field inside a flexible content field are not being translated to the target language (French) even after using the 'Translate Link Targets' feature in WPML.

Solution:
We recommend ensuring that the custom fields are set with the correct translation settings under WPML > Settings > Custom Fields Translation.

For the links that are not automatically translated, you will need to manually search for and translate them within the page or post itself, as they do not appear by default in the translation editor. For a more detailed explanation on how to translate links manually, please refer to our documentation:

If this solution does not seem relevant to your situation, please open a new support ticket so we can assist you further.

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 1 reply, has 2 voices.

Last updated by Lucas Vidal de Andrade 1 year, 8 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
January 18, 2024 at 2:17 pm #15200443

duncanM-2

I'm in the process of researching the capabilities of WPML auto translation with a site built using ACF and flexible content. I've created some test pages and added both internal and external links into an ACF WYSIWYG field which sits within a flexible content field. The page has successfully auto translated (to French) but the internal link is still the original English link. I've tried using the 'Translate Link Targets' feature in the WPML > Settings and it fails to pick up this link.

I've tested the same process with a blog post using the main content area and the auto translation seems to pick up the internal link and replace it with the translated page so the issue seems to be with custom fields/ACF flexible content.

Do you have any advice or workaround to make this work with our setup?

January 18, 2024 at 7:48 pm #15202043

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Thank you for getting in touch with us and sharing the details. First, please ensure that the custom fields have the right translation settings under WPML > Settings > Custom Fields Translation.

For the links themselves, some links are translated as you mentioned and some need to be directly translated on the page/post itself. Links do not show up as default on the translation Editor, so you have to manually search for them and translate them. Here's a more detailed explanation:

https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/