Skip to content Skip to sidebar

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

Issue:
How to ensure that hyperlinks on the website are correctly adjusted to the corresponding language after using WPML to automatically translate content?

Solution:
If you’re experiencing an issue where hyperlinks do not automatically switch to the appropriate language after using WPML’s automatic translation, we recommend reviewing and updating your custom XML configuration. Below is a sample configuration that you can adjust based on your specific needs:

<wpml-config>
  <elementor-widgets>
    <widget name="image">
      <fields>
        <field>link>url</field>
        <field>caption</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

Please ensure that your configuration is accurate and compatible with the elements and plugins used on your website.

Note that this solution may become outdated due to version updates or may not apply to your specific case. We strongly recommend visiting the Known Issues page to verify the solution’s version compatibility and ensure you have the latest versions of your theme and plugins installed. If the issue persists, we suggest opening a new support ticket.

0% of people find this useful.

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: 

This topic contains 17 replies, has 0 voices.

Last updated by Kor 2 months, 4 weeks ago.

Assisted by: Kor.

Author Posts
May 19, 2025 at 6:50 am #17046512

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've corrected the custom XML configuration as shown below here hidden link and it's displaying fine now. Could you check?

<wpml-config>
  <elementor-widgets>
    <widget name="image">
      <fields>
        <field>link>url</field>
        <field>caption</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>
May 20, 2025 at 1:34 am #17050740

arkC

非常感谢你的帮助,这个问题得到了解决。

May 20, 2025 at 7:05 am #17051088

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Please mark this ticket as resolved.