Skip Navigation

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

Problem:
The client is experiencing an issue with black thumbnails on their translated page. They attempted to duplicate featured pictures in WPML > Settings > Media translation, but it didn't resolve the issue. The thumbnails remain black on the translated page, and the client is looking for a way to fix this issue massively instead of one by one.
Solution:
First, ensure that the translation is marked as "Update needed" and then click on it to re-save the translation. If this does not resolve the issue, try the following steps:
1. Go to the product in the default language, click on "quick edit", and update.
2. If the above does not work, switch to the secondary language, go to products, click on "quick edit", and update there.
If either of the above solutions works, you can bulk select the products and then do a bulk "quick update".
Alternatively, you can go to WPML->Translation Management, filter by products, select the products in question, and send for automatic translation. If they are already translated 100%, no credits should be charged, though it's recommended to test this with a small batch first.

If these solutions do not apply to your case or seem 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 issue 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.

This topic contains 6 replies, has 1 voice.

Last updated by julienc-54 1 month, 2 weeks ago.

Assisted by: Bobby.

Author Posts
April 28, 2025 at 6:48 pm #16976546

julienc-54

Background of the issue:
I am trying to fix an issue with black thumbnails on my translated page: hidden link. I attempted to duplicate featured pictures in WPML > Settings > Media translation, but it didn't work.

Symptoms:
Several thumbnails are black on the translated page.

Questions:
How should I fix the black thumbnails issue on my translated page?

April 28, 2025 at 10:00 pm #16976817

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

While waiting for one of my colleagues to be assigned to your ticket, please go to your products missing the media in the translation-> edit the product in the defautl language and check if the option "Duplicate media option" is enabled.

If it's not please enable it and click on "update", once done review the product in the front end and let us know your results.

April 29, 2025 at 5:28 am #16977137

julienc-54

Yes, the checkbox are already set to duplicate... See screenshot

Capture d’écran 2025-04-29 à 07.26.50.png
April 29, 2025 at 11:50 pm #16981378

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the screenshot.

The translation is marked as "Update needed", please click on it and re save the translation.

Once that is finished -- does it help resolve the issue?

April 30, 2025 at 5:18 am #16981592

julienc-54

Yes, it is working.

How could I do it massively ? I have a bunch of black pics, it would take a lot of time to do it one by one

May 1, 2025 at 4:50 pm #16987122

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Glad to hear it's working!

There are 2 ways I can think of:

1. Try this and let me know your results.

---> Go to the product in the default language -> Click on "quick edit" and update

Does that work?

If it does not try this:

---> Go to products -> switch to the secondary language -> Click on "quick edit" and update

Results?

If either one works well you can bulk select the products and then do a bulk "quick update"

2. Go to WPML->translation management-> filter by products-> select the products in question and send for automatic translation.

If they are already translated 100% no credits should be charged.

NOTE: There is a chance here SOME credits might get charged in the case new content is found... I recommend testing this with a small batch and not all at once

Let me know your results, please.

May 2, 2025 at 5:31 am #16987906

julienc-54

Hi,

quick edit on default language doesn't work.
quick edit in english is not allowed : La modification rapide est désactivée pour les traductions de produits. Gérez les traductions de produits à partir du Tableau de bord de traduction.

For the third method, I think I just did the same, download all the XLIFF, translate it again, and remove "needs-translation" tag inside file so that it says it is 100% translated, and upload it again, but didn't work neither

May 3, 2025 at 4:59 am #16991355

julienc-54

I fixed it using :

wp post list --post_type=product --lang=en --format=ids | xargs -n1 -I {} sh -c 'cd /chemin/vers/ton/wordpress && wp post update {} --post_status=publish'