Skip Navigation

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

Problem:
The client reported that ACF link fields inside a custom block were not translatable.
Solution:
First, we verified that the 'Test link 2' field's value was set to 'Translate'. We found that the URL value was indeed showing for the translation when searched for. We recommended the client to refer to our documentation on how to translate URLs, shortcodes, and HTML attributes using the Advanced Translation Editor:
https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/

Next, we resolved the issue by changing the field name of 'Button title' from 'button' to 'button_link', as 'button' or 'buttons' may be reserved words that could cause conflicts. Additionally, we upgraded to WPML version 4.6.9.

If this solution doesn't look relevant to your issue, please open a new support ticket.

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.

Tagged: 

This topic contains 13 replies, has 3 voices.

Last updated by Bigul 1 year, 5 months ago.

Assisted by: Bigul.

Author Posts
January 16, 2024 at 2:43 pm #15190727

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. I am getting the expected result after changing the field name of *Button title* from *button* to *button_link*. This may be happening because normally *button* or *buttons* are used as resvered words. Also, I have upgraded to the WPML 4.6.9 version.

Please check the attached image for more details and let us know your feedback.

--
Thanks!

Bigul

2024-01-16_20h10_26.png
2024-01-16_20h10_05.png
2024-01-16_20h08_20.png
January 18, 2024 at 10:57 am #15199344

riencov

thanks, adding a new field with a different id works.