Skip Navigation

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

Problem:
The client reported that links from pictures in Elementor are not being translated anymore, specifically mentioning that a section on the homepage remains in French despite translations.
Solution:
We recommended adding the following custom XML configuration to WPML > Settings > Custom XML:

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

After adding this, the client should make a small change to the default language page and re-translate. It might also be necessary to clear the Elementor cache by selecting 'Clear Data & Files'.

Please note that this solution might be outdated or not applicable to your specific case. If this does not resolve your issue, we highly recommend checking related 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.

Tagged: 

This topic contains 10 replies, has 0 voices.

Last updated by nicolasF-24 2 months ago.

Assisted by: Dražen.

Author Posts
May 1, 2025 at 6:11 am #16985622

nicolasF-24

Many thanks

Can you also open a new ticket, i just noticed a problem since your last updates, the link from pictures, in element or, are not translated anymore
For example on the homepage, the section in attachment remains in French
I don't have problems with other links, it's only when we put a link on a picture
If you can check on the dev website what's the problem ?
Many thanks

May 1, 2025 at 6:46 am #16985652

Dražen
Supporter

Languages: English (English )

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

Hello,

I checked, and it seems you are setting relative links, so WPML can not know this is a link from the current website and adjust it. Please use full links or you can use Elementor's dynamic internal link mode and WPML will adjust correctly when the page is translated.

- hidden link

Regards,
Drazen

May 1, 2025 at 6:50 am #16985654

nicolasF-24

Hi Drazen,

Yes I tried with that too, but you will see, it's not working too ... the links remains in French in other languages ...

May 1, 2025 at 7:35 am #16985722

Dražen
Supporter

Languages: English (English )

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

Hello,

you are right, I have added next to WPML > Settings > Custom XML and now you can see links in ATE editor and translate them.

Code:

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

Please check.

Regards,
Drazen

May 1, 2025 at 8:04 am #16985804

nicolasF-24

Unfortunately not working too ...

I just copy pasted what you made on the dev, on my production website, and the link still remains in French :/

May 1, 2025 at 8:18 am #16985862

Dražen
Supporter

Languages: English (English )

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

Hello,

Please update WPML plugins and Elementor on staging to the latest versions and try again.

Regards,
Drazen

May 1, 2025 at 8:29 am #16985875

nicolasF-24

Hi

I can't update wpml on the dev, because it's says that the licence is expired ... which is normal because it's a staging

Otherwise, even on the production on or the dev it's not working on both, whereas on the production everything is up to date ... so I think that the problem is elsewhere
Anyway I updated elementor 😉

May 1, 2025 at 8:33 am #16985883

nicolasF-24

You're right, I see it now on the manual translation editor, but it puts the same link in translation ...

Capture d’écran 2025-05-01 à 10.32.56.png
May 1, 2025 at 8:52 am #16985976

Dražen
Supporter

Languages: English (English )

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

Hello,

I tried to translate them manually, but it still does not work.

Let me check with our 2nd tier, and I will get back to you.

Regards,
Drazen

May 6, 2025 at 2:06 pm #17002159

nicolasF-24

Hi
Do you have any news ?
Thanks

May 7, 2025 at 6:01 am #17004298

Dražen
Supporter

Languages: English (English )

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

Hello,

please add next to the WPML > Settings > Custom XML:

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

Make a small change to the default language page and re-translate.
Maybe you will also need to clear Elementor cache (Clear Data & Files)

I tested on test site and it works fine.

Regards,
Drazen

May 7, 2025 at 7:58 am #17004827

nicolasF-24

Hi Drazen,

Many thanks it's working perfectly !