Sauter la navigation

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Fuseau horaire du supporter: Pacific/Easter (GMT-05:00)

Ce sujet contient 3 réponses, a 0 voix.

Dernière mise à jour par Ilyes Il y a 1 semaine et 4 jours.

Assisté par: Ilyes.

Auteur Articles
mars 17, 2025 à 5:13 pm #16826682

victorM-56

Background of the issue:
I am trying to have the right featured image in English and German, the same as the source image. I use Rank Math to manage the featured image. The issue can be seen on this page: lien caché

Symptoms:
Instead of the translated image (media) of the source, I got another image.

Questions:
Why is the featured image not displaying correctly in the translated version?
How can I ensure the featured image matches the source image in all languages?

mars 18, 2025 à 1:05 am #16827455

Ilyes
Supporter

Les langues: Français (Français )

Fuseau horaire: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML support team,

I'm not familiar with this function in Rank math, could you explain how it is configured? is it directly on the post itself?

If so, there could be a custom field related to this function that should be set to "copy" under WPML > Settings > Custom Fields Translation

I asked for an access on your previous ticket, I will take a closer look at this too once provided.

Best,

mars 22, 2025 à 6:23 pm #16847901

victorM-56

I put rank_math_facebook_image translatable.

But no change. I still have the problem.

Thanks

Capture d’écran 2025-03-22 192020.png
mars 25, 2025 à 7:19 pm #16859731

Ilyes
Supporter

Les langues: Français (Français )

Fuseau horaire: Pacific/Easter (GMT-05:00)

Hello,

So it turns out the image is not being copied, if you edit the rank math snippet, you will see that the button "add image" is available, hence why the english page is showing the default image of the site.

And that's because the fields you set as "transalte" are not the right ones, under WPMP > Settings > Custom Fields translation, there are other Facebook image related fields, and I have set them up to "copy"

Then I redid the translation so WPML can copy the images, and it worked fine : lien caché

Now the only thing that I'm noticing, is that when I try sharing the english link, I still get the old image on this post.

Either cache is involved or this function is simply not possible, could you please create a new page > add an image to rank math snippet > Translate and then share the link on facebook and linkedin to test if the issue persists on new pages.

Best,