This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was unable to translate the URL of Kadence Advanced buttons using the Advanced Translation Editor (ATE). They expected to find a field to translate the button URL but couldn't locate it, even when searching for "HTTP" or "/".
Solution:
We recommended that internal site links should automatically adjust when using the WPML Editor for translating a post. We advised the client to update the URL as dynamic post links and then update the post. This should show the correct translation for Kadence Advanced buttons links.
If you're experiencing a similar issue, we recommend you try updating your URLs as dynamic post links and then update your post. If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend you open a new support ticket with us.
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: Exception
Author | Posts |
---|---|
February 22, 2024 at 10:30 am #15332617 | |
Lukas Cech |
I am trying to: Translate a page with Kadence Advanced buttons and their links Link to a page where the issue can be seen: hidden link (password "david" I expected to see: a field where I can translate the button URL in ATE, when I use ATE search for either "HTTP" or "/", but it's not there. (as suggested here: https://wpml.org/forums/topic/button-link-does-not-lead-to-translated-page-kadence-blocks/) Instead, I got: Nothing - no way to translate the button link (URL). |
February 22, 2024 at 3:38 pm #15334559 | |
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. This requires further checking and I would like to access the admin area of your site for that. So please fill in the private details fields after a full site backup{mandatory}. Refer to the following links for more details about our private information sharing policies. hidden link -- Bigul |
February 22, 2024 at 4:43 pm #15334891 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Lukas, Thank you for the updates. In most cases, the internal site links will be automatically adjusted when we are using WPML Editor for translating a post. Then Kadence Advanced buttons links showed the correct translation after I updated the URL as dynamic post links and updated the post. Please check the attached images and the following post links for more details, and let us know your feedback. hidden link hidden link -- Bigul |
February 22, 2024 at 5:23 pm #15335198 | |
Lukas Cech |
Hi Bigul, interesting fix! This should work, but not many users will do it this way - I think the more straightforward way to translate these would be just like any other button or hyperlink - not with this special workaround? Kadence is used by tens of thousands of websites. Also, the DE translation hidden link buttons 2 and 3 are showing raw URLs, not the pretty hyperlinks as other pages? i.e. hidden link instead of hidden link Plus some items in the menu have the same incorrect link format - this wasn't like that before, please revert this change. |
February 22, 2024 at 5:27 pm #15335200 | |
Lukas Cech |
specific menu items - DE - New threads created by Bigul and linked to this one are listed below: https://wpml.org/forums/topic/the-de-translation-showing-raw-urls/ |
February 22, 2024 at 5:41 pm #15335227 | |
Lukas Cech |
To add to the button translation issue - WPML seems to translate some buttons, but doesn't others, see the image - this is from a Design>Kadence>Elements: Sticky Reservation button element that is inserted across the site. But the buttons are the same there as on other pages. Why does it pick up the single button URL and it doesn't elsewhere? Perhaps if it's a single button, it works, but it there are more buttons in a group (as kadence buttons work), it doesn't? |
February 22, 2024 at 5:46 pm #15335232 | |
Lukas Cech |
This is really odd, but I don't want to confuse you, so passing this info on - just after I posted my last comment above with the screenshot, I noticed that the element's attributes (like where it should appear) weren't copied. So I checked many custom system fields from kadence, like _kad_element_hook, to COPY, saved. Now when I translate the same element as in the screenshot, the button URL is gone 😀 No idea why, as these custom system fields aren't related to the button or the URL. Or perhaps you are working in there at the same time as me? |
February 23, 2024 at 9:37 am #15336790 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hi Lukas, Thank you for the detailed feedback. This requires further checking. As mentioned before most of the internal links will be auto-adjusted in secondary languages. So please allow me to install the following plugins on the staging site for tracking it. https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/ https://wordpress.org/plugins/jsm-show-post-meta/ Also, let us know the exact steps to reproduce the following case. It will help us a lot in troubleshooting. To add to the button translation issue - WPML seems to translate some buttons, but doesn't others, see the image - this is from a Design>Kadence>Elements: Sticky Reservation button element that is inserted across the site. But the buttons are the same there as on other pages. -- Bigul |
February 23, 2024 at 12:47 pm #15337701 | |
Lukas Cech |
Hi Bigul, Unfortunately, I cannot reproduce this now. All the buttons don't offer the URL for translation, even the ones that did previously. One of the custom system fields from kadence, like _kad_element_hook etc must have influenced it, and as there's at least 10, I have no idea which. But you don't need me for this - you can easily set up a WP website, install the free Kadence Blocks and play around with the buttons to see why the button URL isn't offered for translation like other URLs for example in hyperlinks. But the bigger issue still remains - after you accessed the website, some URLs show page_id instead of pretty URL. Please fix that back to the original setup. I have tried translating a new page and for DE, the URL is fine, but for EN, it shows page_id. I haven't changed anything that could influence this + it was happening just after you posted your first fix here. Here's the test page: hidden link |
February 23, 2024 at 1:51 pm #15338046 | |
Lukas Cech |
Here's another, separate issue. This post has the exact same elements (icon lists from Kadence) as many others. All others were translated fine, but in this post, some of the icon lists or even standard headings are not seen by ATE. Why is that? Example strings: Obtížnost (heading), Dobrou náladu 🙂 (icon list), Průběh kurzu: (title) and everything below it. I have tried deleting all existing translations (went to All pages for English, deleted the English page, deleted it from trash). I also deleted all previous translation jobs, but no change. These random issues are very frustrating. The same piece of content, post or a block is translated in one instance and isn't in another. Please also don't ignore the permalink issue above, as you did before. I have deleted any previous pending New threads created by Bigul and linked to this one are listed below: https://wpml.org/forums/topic/some-of-the-icon-lists-or-even-standard-headings-are-not-seen-by-ate/ |
February 23, 2024 at 1:51 pm #15338047 | |
Lukas Cech |
- I also tried adding a random string to these elements, saving the original (CZ) page and translating, no change. |
February 23, 2024 at 4:13 pm #15338673 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+01:00) |
Hello, Thank you for the updates. Please note that I only made changes in the following button URLs of the following post. So it will not cause any issues with the site's translation settings or existing other posts. hidden link I have opened new tickets for other issues. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. Thank you for your understanding. -- Bigul |
February 23, 2024 at 4:35 pm #15338798 | |
Lukas Cech |
Hi Bigul, Understood, I'll follow the other tickets, thanks for cleaning it up, makes sense :). And thanks for the tip to use dynamic button URLs, it works perfectly, I'll use that from now on. You have helped me promptly and showed very good customer support! 🙂 |