Skip to content Skip to sidebar

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

Problem:
You are trying to translate a page built with Elementor that includes an Icon List widget and a Button widget, and you want both the text and the link URLs to be translatable. However, in WPML's translation editor, only the text fields appear, and the link URLs do not.
Solution:
We have updated the XML configuration for the Elementor widgets to include fields for link URLs. Here is the updated XML configuration you should use:

    <wpml-config>
        <elementor-widgets>
            <widget name="icon-list">
                <fields-in-item items_of="icon_list">
                    <field type="text" editor_type="LINE">text</field>
                    <field type="LINK" editor_type="LINK" key_of="link">url</field>
                </fields-in-item>
            </widget>
        </elementor-widgets>
    </wpml-config>

Additionally, ensure that internal links are set to be automatically translated. This should allow you to see and translate the link URLs in WPML's translation editor.

If this solution does not resolve your issue or seems outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, 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 14 replies, has 1 voice.

Last updated by timotejK 1 week, 4 days ago.

Assisted by: Shekhar Bhandari.

Author Posts
August 9, 2025 at 5:14 pm #17307018

timotejK

Background of the issue:
I am trying to translate a page built with Elementor that contains an Icon List widget (multiple items with text + link) and a Button widget (text + link). I want both the text and the link URLs to be translatable. The issue can be seen on this page: hidden link.

Symptoms:
In WPML’s translation editor (both ATE and CTE), I expected to see fields for the link URLs from the Icon List items and the Button widget, along with the text fields. Instead, only the text fields appear in the translation editor. The link URLs do not appear at all, so I cannot translate or change them without manually editing the translated page in Elementor.

Questions:
Why are the link URLs from the Icon List and Button widget not appearing in the translation editor?
How can I make the link URLs translatable in WPML’s translation editor?

August 11, 2025 at 6:30 am #17308124

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

This usually happens when plugin/theme that created the widget is not officially compatible so they have not included WPML XML config for that widget.

You can follow next guide and use our addon tool to create XML config for that widget:

- https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/

If you need help let us know and we can do it for you.

Regards,
Drazen

August 11, 2025 at 7:26 am #17308222

timotejK

Hey, I tried what you've said, but the custom field "WPML: Elementor Widgets" says:

"All widgets on this page are already registered."

That must be because I am using the default Elementor Pro widgets. The visible text is translatable by default, however links from those widgets are not - I have tried every soulution I could find by search or by using GPTs.

I am kindly asking you for further assistance.

Regards,
Matic

August 12, 2025 at 4:48 am #17311778

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hi there,

Thanks for reaching out to WPML support! I’m here to help you with this issue.

By default, WPML automatically adjusts the URL if it’s an internal URL, so it’s hidden for that purpose. If you’re using the Advanced Translation Editor, you can use the search feature in the editor to find the URLs and translate them.

Let me know if this helps!

Thanks

August 12, 2025 at 6:25 am #17312052

timotejK

Hey, thank you for clarification.

I checked again and now even the translated text (with the link behind) is not showing on the front end even though they are translated in Advanced Translation Editor.

I even clicked the "Translate Link Targets" multiple times in WPML settings.

Here is the recording of the situation:
hidden link

August 12, 2025 at 6:29 am #17312058

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you make a small change on the original language and update the translations to 100% and see if it helps? also make sure cache is disabled.

If it doesn't help, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site.

So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply.
hidden link

This info is private and available to you and WPML supporters only.
Read more about this: https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Note:
Backup your sites before providing the credentials or if possible provide credentials for the test site

Look forward to your reply.

Thanks

August 13, 2025 at 5:02 am #17315387

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Your site is IP restricted, so I am unable to check it further, can you disable the protections so I can test it.

Look forward to your reply.

Thanks

August 13, 2025 at 5:20 am #17315412

timotejK

Hi, it should be working now, please check.

August 13, 2025 at 5:32 am #17315448

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

I made some changes to the xml here and the links are showing for translations:
hidden link

<wpml-config>
  <elementor-widgets>
    <!-- Icon List -->
    <widget name="icon-list">
      <fields-in-item items_of="icon_list">
        <field type="text" editor_type="LINE">text</field>
        <field type="link" editor_type="LINK">link>url</field>
      </fields-in-item>
    </widget>
    <!-- Button -->
    <widget name="button">
      <fields>
        <field type="text" editor_type="LINE">text</field>
        <field type="link" editor_type="LINK">link>url</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

Please check and confirm.

Thanks

August 13, 2025 at 6:10 am #17315481

timotejK

Hi, I've tried inputing XML by myself before and it did not work.

Also the internal links are not showing. I checked "Show all links" and also tried serching for http and it only shows external links (our subdomain).

As far as I understand, internal links should be working by default. However the problem is, when I click internal links, I highlighted on a an English page, they lead to original, Slovenian pages.

I've also appended another screenshot for clarification

SCR-20250813-hreu.png
SCR-20250813-hpfk.png
August 13, 2025 at 6:32 am #17315561

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

Can you check now, I made few changes on the xml again

<wpml-config>
  <elementor-widgets>
    <widget name="icon-list">
      <fields-in-item items_of="icon_list">
        <field type="text" editor_type="LINE">text</field>
        <field type="LINK" editor_type="LINK" key_of="link">url</field>
      </fields-in-item>
    </widget>
    <widget name="button">
      <fields>
        <field type="text" editor_type="LINE">text</field>
        <field type="link" editor_type="LINK">link>url</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

Look forward to your reply.

Thanks

August 13, 2025 at 7:23 am #17315760

timotejK

Hey on a staging site, the links from the icon-list are now translatable. However link from the button bellow is still not visible in editor.

Also how do I apply that to the live page? I've copied XML into Custom XML Configuration settings, done a small change to a page, completed translatations and still cannot see the links in an editor.

August 13, 2025 at 7:31 am #17315773

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

You should adjust the xml for button code accordingly.

After you place the xml, updating the page should fix the issue, I suggest you to make a change in one of the link if this doesn't help.

Thanks

August 13, 2025 at 7:44 am #17315792

timotejK

Hey, thank you for the solution, that one change actually saved all of the broken internal links.

However it is not replicable on the actual site. Can you check if I missed something?

hidden link

August 13, 2025 at 7:48 am #17315865

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

Timezone: Asia/Kathmandu (GMT+05:45)

Hello there,

You will need to search for links, internal links will be automatically translated, can you try that and see if it helps.

Thanks