Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the French alt tags applied to an image in the Advanced Translation Editor are not displaying correctly on the French page. Instead, the default English alt tags are shown.
Solution:
1. Clear all caches available on the site.
2. Ensure that Elementor is updated to the latest version.
3. If the issue persists, apply the fix using the code provided by the WPML support team, which can be found here: https://wpml.org/errata/elementor-image-widget-translated-images-display-the-original-alt-text/.

If these steps do not resolve the issue, or if the solution becomes outdated, we 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. Should the problem persist, please open a new support ticket with us for further assistance at WPML support forum.

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 0 voices.

Last updated by Shekhar Bhandari 1 year, 1 month ago.

Assisted by: Shekhar Bhandari.

Author Posts
March 11, 2025 at 3:02 pm

aaronM-23

Background of the issue:
I have applied the French alt tags to an image in the Advanced translation editor, but it is not displaying correctly on the French page. This issue can be seen at: hidden link for the top image in the banner of a man staring at the camera. This had worked previously and since updating to the latest version it no longer works. I have already tried the fix outlined here: https://wpml.org/errata/elementor-image-widget-translated-images-display-the-original-alt-text/ and reverted

Symptoms:
The translated alt text is not displaying; instead, the default language alt tag of English is shown.

Questions:
Why is the translated alt text not displaying on the French page?
How can I ensure the French alt tags are applied correctly?

March 11, 2025 at 3:32 pm #16802633

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

Have you tried disabling all non-WPML plugins, switching to one of the default themes, and checking whether the issue still persists or not?

Please remember to create a backup of your site (both files and the database) before making any updates or changes. This is always a good practice.

Also, can you provide me permissions to disable/enable theme/plugin on your site.

Look forward to your reply.

Thanks

March 11, 2025 at 6:26 pm #16803585

aaronM-23

I deactivated plugins and theme and still did not see the translation displaying in the image alt tags. This worked previously to the latest WPML update. Should / can I revert to the previous build?

March 12, 2025 at 4:42 am #16804848

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello,

Yes, you can revert, but please ensure you create a backup first.

To investigate this further, would it be possible for me to disable/enable themes and plugins? Alternatively, could you set up a test site so we can work on finding a solution?

Thanks!

March 14, 2025 at 2:08 pm #16817265

aaronM-23

Hello,

We create a copy of the site so that you can safely disable anything you'd like without breaking the production site.

hidden link
hidden link

You can use the same login credentials as with the other site.

March 17, 2025 at 5:48 am #16822881

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

Can you clear all cache available on your site as well as update elementor to the latest version and see if it helps.

On my test site when I disable the element cache duration to disable it helped but for some reason the same option is not available for you.

Look forward to your reply.

Thanks

Settings-‹-Test-WPML-—-WordPress-03-17-2025_11_31_AM.png
March 23, 2025 at 2:43 pm #16848821

aaronM-23

This screenshot you provided is not showing the hidden link backup provided and even after updating elementor that option is not there.

I updated the ELementor base on the hidden link site as well as installed LiteSpeed cache and purged all cache

As well as purged the Elementor base cache options, and then turned off cache

We go live this week so it is imperative this is done ASAP

The image in the banner here continues to display the english ALT text

I also tried editing the french alt tag in the advanced image editor

Screenshot 2025-03-23 at 10.41.37 AM.png
Screenshot 2025-03-23 at 10.42.31 AM.png
Screenshot 2025-03-23 at 10.35.39 AM.png
Screenshot 2025-03-23 at 10.37.53 AM.png
Screenshot 2025-03-23 at 10.37.00 AM.png
Screenshot 2025-03-23 at 10.36.39 AM.png
March 24, 2025 at 2:23 am #16849494

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

Can you please follow the steps as shown here and see if it helps: hidden link

You can see the alt tag working here: hidden link

Look forward to your reply.

Thanks

March 24, 2025 at 4:45 pm #16853393

aaronM-23

Thanks for this - however when I made all the same updates (as well as disable the same plugins as on the link you sent, it is still showing the English ALT tag on the most recent build of the site at:

hidden link

I notice the staging version you used has the URL not using 2 domains so I tried to switch the site to match but it has the same error.

Please advise.

Are you able to make the update on the URL with the structre: hidden link

March 25, 2025 at 3:11 am #16854588

Shekhar Bhandari
WPML Supporter since 03/2015

Languages: English (English )

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

Hello there,

Please use the code as mentioned here to fix on the mentioned site: https://wpml.org/errata/elementor-image-widget-translated-images-display-the-original-alt-text/

Look forward to your reply.

Thanks