Skip to content Skip to sidebar

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

Problem:
The client was experiencing an issue where translated images were not appearing on the product pages of their website after using WPML to translate the products.
Solution:
We discovered that the issue was due to duplicated image names in both the English and Spanish media libraries. We resolved this by deleting the duplicate images and keeping only the correct ones. After making a small change to the default language product and re-translating it, the images displayed correctly. We recommended the client to check this solution on a staging site and then make a backup of their production website. If the issue persists, we suggested re-translating the products automatically without making any changes, hoping this would resolve the issue.

If this solution does not apply to your case, or if it seems outdated, we highly 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. Should you need further assistance, 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 5 replies, has 0 voices.

Last updated by Anna-Maria Rönsch 1 week, 3 days ago.

Assisted by: Dražen.

Author Posts
September 17, 2025 at 1:18 pm

Anna-Maria Rönsch

Background of the issue:
I am trying to translate a product page on my site, hidden link, using WPML.

Symptoms:
Translated images are not showing.

Questions:
Why are the translated images not appearing on the product page? hidden link you can see when I open the product in the editor in the second language (spanish) the url of the image got deleted, I dont know why. It happes equally to all other products of the same line, too.

September 17, 2025 at 1:43 pm #17410096

Dražen
Supporter

Languages: English (English )

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

Hello,

please let me know when staging site is ready and I will check it out further.

Regards,
Drazen

September 17, 2025 at 2:24 pm #17410205

Dražen
Supporter

Languages: English (English )

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

Hello,

thanks. I have checked and found you had duplicated same image name in both EN and ES media library. I have deleted those and left only correct working one.

Furthermore, I have then made a small change to default language product, save and re-translate, and it works fine now. If you re-translate product, it saves fine.

- hidden link

Can you please check on staging site and confirm this fixes issue?

If yes, please make a backup of your production website and I will do the same there. Since you have 100 product, we can try automatic re-translate them without making any change and hope it should fix it.

But lets go step by step, first check staging and make a backup of your live website.

Regards,
Drazen

September 17, 2025 at 3:45 pm #17410640

Anna-Maria Rönsch

Thank you Drazen!

Yes, staging link looks good now.

I confirm I did a backup of the live site and that you can proceed to fix it here as well, same login details.

Do we need to retranslate all the products? The issue only ocurred on the new ones added yesterday which I tried to translate today. So maybe we start here and then check if the old ones also need to be retranslated or not?

Thank you so much!
Anna

September 18, 2025 at 5:45 am #17411606

Dražen
Supporter

Languages: English (English )

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

Hello Anna,

thanks.

Sure, that sounds like a good plan, please check which are affected and if you need to translate a lot of products then we can try to find another approach.

I have fixed the problem also on production now, then I just clicked pencil icon and resaved translation and it worked fine.

hidden link

Regards,
Drazen

September 18, 2025 at 8:22 am #17412201

Anna-Maria Rönsch

Hello Drazen,
perfect, thank you very much.

I translated all of the new products now without issues. The old products are also displaying fine with the icon, so I think no more is needed.

Kind regards!
Anna