Home›Support›English Support›[Resolved] Pinterest image: media translation does not show different image
[Resolved] Pinterest image: media translation does not show different image
This thread is resolved. Here is a description of the problem and solution.
Problem: You uploaded a different image for the English version in WPML media translation for your Pinterest image, but when sharing on Pinterest, the English site still displays the German image. The description translates correctly, but not the image itself. Solution: If you're experiencing this issue, we recommend you try the following steps: 1. Go to WPML-> Settings-> Custom Fields Translation section. 2. Set the
shariff_metabox_media
field to Translate. 3. Click Save. 4. Edit the post in the default language. 5. Make a minor edit and update it. 6. Edit the translated post using the WordPress editor. 7. Add the translated image URL manually and update the translated post.
Please try these steps on a sandbox site first. If the problem persists, it might be due to outdated solutions or a different issue. 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 necessary, please open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I uploaded a different image for english in media translation for my Pinterest image using WPML. I use a plugin called Shariff Wrapper for social media shares. I followed your documentation for changing media in different languages.
Symptoms:
The English site still shows the German Pinterest image when I try to share the image to Pinterest, although I have saved an English image in my media translation. The description is correctly translated but not the image itself.
Questions:
Why does the English site show the German Pinterest image instead of the translated English image?
1) Thanks for replicating the issue. I created a new test post. Please check it and let me know if it works correctly. (hidden link)
2) I noticed that the "Pinterest Image" field in the translated post is empty. Please try to edit the translated post, add the translated image URL, and update the translated post to check if that will fix the issue.
1) in your test post it works correctly but I do not know how you made that or where my mistake is
2) I do not understand - I added the pinterest image in my test post via the shariff plugin in the post editing sidebar , have a look at the screenshot please. I do not want the pinterest image to appear in the post, only when you click the share button.
1- Go to WPML-> Settings-> Custom Fields Translation section
2- Set the "shariff_metabox_media" field to Translate
3- Click Save
4- Edit the post in the default language
5- Make a minor edit and update it
6- Edit the translated post using the WordPress editor
7- Add the translated image URL manually and update the translated post
Kindly try the above steps on the sandbox site and let me know if that fixes the issue.
Note: I've done the first three steps, so you don't need to do them.
I tried and that works. It also works on my website. But why does it not work in the media translation tab? This is not an easy way to do it, especially if I make changes in the post later.