Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 12:00 – 20:00 - -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 0 voices.

Last updated by Noman 2 days, 18 hours ago.

Assisted by: Noman.

Author Posts
June 20, 2025 at 12:44 pm #17154315

andreG-36

Background of the issue:
I am trying to translate Elementor button URLs on my site hidden link. I need the link in the English version to be different. I added the following code to try and achieve this: <wpml-config> <elementor-widgets> <widget name="button"> <fields> <field type="Button: Button text" editor_type="LINE">text</field> <field type="Button Link" editor_type="LINK">link>url</field> </fields> </widget> </elementor-widgets> </wpml-config>.

Symptoms:
The code I added didn't work to change the link in the English version.

Questions:
How can I make the link in the English version different using WPML?

June 22, 2025 at 5:38 pm #17157618

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Could you please try to follow the below steps:

1. Try to use the updated XML:

<wpml-config>
  <elementor-widgets>
    <widget name="button">
      <fields>
        <field type="Button Text" editor_type="LINE">text</field>
        <field type="Button URL" editor_type="LINE" key_of="link">url</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

In WPML >> Settings > Custom XML Configuration section.

2. Make a small change in the default language page to reload the translation.

3. Open the translated page in WPML Advanced Translation Editor, search for your button URL and add the translation.

4. Clear all sorts of cache and see if this resolves the button translation issue.

Here is a doc for more details: https://wpml.org/faq/how-to-translate-links/

Kindly let me know the results,
Thank you