Skip Navigation

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

Problem:
You are updating posts and adding new content but have noticed that images with URLs are no longer visible in the Advanced Translation Editor (ATE) for URL translation. Although images are translated in Media Translation, their URLs remain in the primary language, and this issue does not affect older posts.

Solution:
We recommend adding the following XML configuration to your WPML settings under the Custom XML tab to address this issue:

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

After applying this XML, you should be able to see the URLs correctly in the ATE. Please complete the translation of the post and verify if the URLs are translated correctly on the front end.

If this solution does not resolve your issue or seems outdated, 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 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 0 reply, has 1 voice.

Last updated by Osama Mersal 2 months, 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
April 10, 2025 at 1:17 pm #16918825

justinK-16

So that now works.

I can see all segments in the ATE

If they were previously translated, they appeared translated in the ATE

They now all appear translated on the frontend.

So, do you suggest that I need to add the above XML to Custom XML - as maybe an issue occurred when I last updated Elementor or WPML (I recently did both product updates).

OR

Activate 1 plugin at a time on the staging site?
If I do this option, do I need to edit a post in elementor each time and then re translate in the ATE to see if there is a conflict?

April 10, 2025 at 1:37 pm #16918919

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Please add the XML code to your live site, edit the page in the default language, make a minor edit, and update. After that, please check the URLs in ATE.

Best regards,
Osama

April 10, 2025 at 2:10 pm #16919060
justinK-16

Hi,

Added the XML - now all URLs appear in the ATE (already translated - as they should be from past translation).

So do you think that the issue is a conflict with Elementor and WPML, since the URLs used to appear in the ATE (without XML registration)?

As I have now activated all plugins.
Recently, I updated WPML and Elementor and Elementor Pro (maybe a week before I spotted the issue).

One last thing - I originally brought this up at the same time.
The image in the sidebar slider also used to translate both the image AND the URL.

Can you provide the XML to add for this (although it may be a slightly more complicated issue)

This sidebar is in a separate blog post template
The Image appears as it has been added to the Sidebar with a Custom HTML widget, and a plugin called Widget Context is configured to tell it on which post we want it to appear.

I have then added the script to String Translation (after sourcing it from Admin Texts).

Then I string translation, I translated the URL, Image Source, and the ALT.
This is all still translated correctly in string translation when I check it.

However, I believe this is part of the same issue as I discovered it no longer translates at the same time as the other images.

Is it possible to also register this in XML, or is it different as it is being handled in String Translation?
It NEVER previously appeared in the ATE and I actually don't need it to. I was happy with it automatically translating in the background.

New threads created by Osama Mersal and linked to this one are listed below:

https://wpml.org/forums/topic/translate-sidebar-images/

April 10, 2025 at 2:11 pm #16919065

justinK-16

sorry i forgot to attach the image

Sidebar image.jpg
April 10, 2025 at 2:27 pm #16919202

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

It seems like a different issue. I've split it and created a new ticket with this issue.

We try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at a time and enables other users to find solutions to their questions faster.

Best regards,
Osama

April 10, 2025 at 2:37 pm #16919255

justinK-16

Ok, thanks for your help with this

April 10, 2025 at 2:57 pm #16919322

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

You are more than welcome! 🙂 Please don't hesitate to open a new ticket if you face any other issues. We are always happy to help you.

Have a great day!

Best regards,
Osama