This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to translate links within ACF repeater fields in the Advanced Translation Editor (ATE) on their custom-themed website. The links do not appear for translation in the ATE, although other elements like URLs and text links are visible and translatable.
Solution:
First, ensure that the button link URL is searchable in the Translation Editor screen. For more details on how to translate URLs, shortcodes, and HTML attributes using the ATE, visit https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/.
If the issue persists, it might be related to a known issue with translating links in ACF repeater fields. We recommend trying the workaround suggested in the following forum post after a full site backup: https://wpml.org/forums/topic/cannot-add-translation-to-acf-button-field-label/#post-15403863. Additionally, check the translation settings for ACF Block Field Groups created using JSON files, as these might not be set correctly.
If these steps do not resolve the issue, or if the solution becomes outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.
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: ATE
This topic contains 17 replies, has 2 voices.
Last updated by Bigul 1 month, 3 weeks ago.
Assisted by: Bigul.
Author | Posts |
---|---|
August 28, 2024 at 10:56 am #16114257 | |
geertP |
Background of the issue: Symptoms: Questions: |
August 28, 2024 at 4:01 pm #16116216 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. Please search for the button link URL in the Translation Editor screen and check whether it is showing for translation. Refer to the following doc for more details This may be related to the following ticket. Please try workaround suggested there after a site backup and make sure the issue exists or not. https://wpml.org/forums/topic/cannot-add-translation-to-acf-button-field-label/#post-15403863 -- Bigul |
August 29, 2024 at 11:39 am #16119727 | |
geertP |
Hi, Thank you for your fast reply. It's not user friendly enough to ask the translator to search on the url's. The first link you've added was not applicable for me. I've set it back to 'not translatable'. I did not make a small change again. Any idea how we can make these links become visible? Thanks Geert |
August 29, 2024 at 5:10 pm #16121455 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the feedback. This is the default and expected behavior of WPML’s Advanced Translation Editor. We hide links to prevent accidental changes, especially during automatic translation. However, links are still available for translation. To view them, simply type "http" in the search field above the translated content. However, we are still working on this and you can expect more improvements in future versions. Thank you for your kind understanding. -- Bigul |
August 30, 2024 at 7:13 am #16123080 | |
geertP |
Hi, Thank you for your fast reply. I've 2 problems: Are we sure there's nothing else this can cause? thanks already geert |
August 30, 2024 at 6:13 pm #16126006 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the feedback. I have a couple of requests to help with tracking and drawing a conclusion on this. 1) Please fill the private details fields after a full site backup{mandatory}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies. hidden link 2) Please let us know the exact steps to reproduce the issue on your site. Because I would like to consult with our developers about this for an expert opinion. -- Bigul |
September 3, 2024 at 7:13 am #16134111 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the details and login information. I am consulting with our team for an expert opinion. We will get back to you as soon as possible. Please wait. -- Bigul |
September 5, 2024 at 3:49 pm #16145918 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, We are still working on this issue. As mentioned before this is an expected result (searching for URLs to translate in Advanced Translation Editor). The major reason for this is to avoid the automatic translation of the URLs which may result in wrong links. We have improved it for internal links of posts in the latest version of Advanced Translation Editor (ATE Gen3). In the future, we can expect the same for the links from Custom Fields links. One doubt. How you are managing the ACF Custom Fields for the blocks? We are not able to check the translation preferences of the custom field of this post exactly - hidden link Please check the attached image. The Appearance (Themes) and ACF menus are hidden while we log in. -- Bigul |
September 12, 2024 at 7:30 am #16169275 | |
geertP |
Hi, Hereby the link to the ACF fields. Thanks Geert |
September 13, 2024 at 7:14 am #16174175 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the updates. Please check the attached images. Hope you want to translate these links automatically. Which Custom Field Groups you are using for this Feed product posts? Sorry not able to find it exactly from the field groups list. -- Bigul |
September 16, 2024 at 10:54 am #16183050 | |
geertP |
Hi, The first image with the 'read more' button is indeed an example of a link we would like to be able to translate via the ATE. thanks |
September 16, 2024 at 3:47 pm #16184853 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the updates. Please allow me to make a duplicator copy of your site using the Duplicator plugin (https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot this without affecting your live site. -- Bigul |
September 17, 2024 at 6:51 am #16186293 | |
geertP |
OK, you can do this thanks |
September 17, 2024 at 6:52 am #16186295 | |
geertP |
accidentally chose for reolved |
September 17, 2024 at 3:53 pm #16189747 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Geert, Thank you for the permission. But the site credentials are cleared from the ticket when you have marked the ticket as resolved. So please share it again. -- Bigul |