[Resolved] Elementor button links are not being translated
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate Elementor button links on your website, specifically to link to an archive page using a relative URL in the Elementor button link, like /evenement/. However, the 'Calendar' button redirects to the French version instead of the expected English archive page. Solution: We recommend checking our guide on translating URLs. When you encounter a page with untranslated buttons, search for the slug (for example, 'evenement') to see all URLs that contain it.
If this solution does not resolve your issue or seems 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.
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.
Background of the issue:
I am trying to translate Elementor button links on my website. For example, this issue occurs when we want to link to an archive page when using a relative URL in the Elementor button link, like /evenement/. The issue can be seen on this page: hidden link. I expected the calendar link to direct to the archive page hidden link.
I also tried with absolute link but it's the same.
Symptoms:
The button 'Calendar' redirects to the French version instead of the expected English archive page.
Questions:
Why are Elementor button links not being translated correctly?
How can I ensure the calendar link directs to the correct archive page?
Thanks for contacting WPML forums support. I'll be glad to help you today.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please backup your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Thanks for the access details. I updated the page in the default language and found that the URL in the translation editor was not translated. (Kindly check the attached screenshot)
So, I translated it. Please check the English home page and let me know if the button works correctly.
Thank you for your fast answer. That's strange, look on our live website, there is not url field as you can see on my print screen and the translation is on 100%. Did you make something before updating the translation ?
As you can see on our video, we tried to update via the WordPress editor (not Elementor) but the url doesn't appear in the english WPML translation : hidden link
Any ideas ? We have so much problems since the new editor of WPML.
It's strange that we have to use the search box to find this url, even though it's 100% translated and we don't see the untranslated field empty by default without searching.
I've attached other buttons that are on the home page that also redirect to the French part of the event page when they should be redirecting to the English part. The URL doesn't appear in the fields, we have to use the search field to find it.
Why does the translation say that it's 100% translated? What is the logic? Previously, if a field wasn't translated, the percentage wasn't 100% and we could see all the fields without having to guess what to look for.
I don't know if my client is going to guess which keyword to put in the search box every time.