Skip Navigation

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

Problem:
You are unable to change the URL of a button in a template on the Spanish version of your site using WPML.
Solution:
We updated the translation for the template of the button that is part of your Global Widget. After updating, the button should now display the correct URL. If further adjustments are needed, you can also correct this in WPML → String Translation.

Please note that this solution might be outdated or not applicable to your specific case. 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 issue 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.

This topic contains 9 replies, has 2 voices.

Last updated by Andrey 1 year ago.

Assisted by: Andrey.

Author Posts
June 20, 2024 at 10:25 am #15762813

philippE-12

Background of the issue:
I am trying to update the link of a button on the Spanish version of my site hidden link. The current URL is hidden link but it should be hidden link. I previously received instructions to update the page in the default language and use the translation editor to search for the URLs and translate them, but this did not solve the issue.

Symptoms:
Unable to change the URL of a button in a template using WPML.

Questions:
How can I change the URL of a button in a template using WPML?

June 20, 2024 at 11:34 am #15763313

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

How did you add this button and URL to the page? Please explain what you have already done.

You are already aware but just in case, leaving you the link again: https://wpml.org/announcements/2020/02/translating-links-with-advanced-translation-editor/

June 23, 2024 at 11:46 am #15794242

philippE-12

Its a global widget. Unfortunately I can't edit the global widget. so i am stuck!

June 24, 2024 at 3:04 pm #15808634

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback. Could you show me on the screenshots how you added this button? Have you used Elementor?

https://wpml.org/documentation/plugins-compatibility/elementor/#translating-global-widgets

I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us:
http://wpml.org/faq/provide-debug-information-faster-support/

June 25, 2024 at 3:36 am #15814709

philippE-12

Originally the button was added to this page and then made a global widget.

Screenshot 2024-06-25 at 05.35.30.png
June 25, 2024 at 8:21 am #15818040

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for the update. Have you tried to follow the article below?

https://wpml.org/documentation/plugins-compatibility/elementor/translating-elementor-global-widgets-with-wpml/

June 25, 2024 at 12:35 pm #15820692

philippE-12

Yes - i had a look at this. But i am not getting any further here. Can someone from your end log into the site to take a look?

June 25, 2024 at 12:44 pm #15820761

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

July 1, 2024 at 3:35 pm #15869640

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I got the access details. I will take a look and update you here as soon as I know more.

July 2, 2024 at 1:35 pm #15875847

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I appreciate your patience. I have updated the translation for the template of the button that is part of your Global Widget. After the translation was completed, the button started showing the correct URL. It can also be corrected in WPML → String Translation if needed.

Screen Shot 2024-07-02 at 16.32.01.png
Screen Shot 2024-07-02 at 16.34.15.png