[Resolved] I changes some images but it didn't chage in the translations
This thread is resolved. Here is a description of the problem and solution.
Problem: The client updated product images on their website using a plugin to replace images, but the new square images are not appearing on the translated versions of the product pages. The original pages display the updated images correctly, while the translated pages still show the old rectangular images. The client attempted to synchronize the images via WPML's Settings > Media Translation but it did not resolve the issue.
Solution: We recommend the following steps to ensure that the updated images appear on all translated pages: 1. Open the original content in the WordPress Editor and remove the image from the content. 2. Upload a completely new media file to the media library. 3. Translate your content. 4. Replace the image inside the media library with the new one.
This workflow should prevent the issue from occurring. If the image is not automatically replaced on the original post, it is expected that the translation will not show the new image, as it no longer exists in the media library.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.
0% of people find this useful.
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.
Initial Setup and Success: I have created 25 products on my website and successfully translated them using WPML. Everything was working perfectly until I made some updates to the product images.
Updating Product Images: To improve the visual appeal of my website, I decided to change the format of several product images from rectangular to square. To accomplish this, I used a plugin designed to replace images without manually updating each product.
Issue with Translated Pages: After updating the images to a square format, I noticed that the new images are not appearing on the translated versions of the product pages. The original pages display the updated square images correctly, but the translated pages still show the old rectangular images.
Attempted Solution: In an attempt to resolve this issue, I navigated to Settings > Media Translation in the WPML settings and clicked on "start," hoping it would synchronize the updated images across all translated pages. Unfortunately, this action did not yield any changes, and the issue persists.
Could you please provide guidance on how to ensure that the updated square images are displayed on all translated pages? I suspect there might be a step I'm missing or a specific WPML feature that I need to utilize.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
Which is the plugin that you are using for this purpose?
Please verify inside the WordPress Media Library if the plugin created new images or if the changes are only achieved (for example) with CSS and JavaScript on the fly while still using the same image sources.
Hi Andreas,
I'm using a plugin Enable Media replace (see picture)
I choose this option :
"The attachment name will remain the same (f62aa51e-ab02-11ee-a834-9b50c03cded6.jpeg) regardless of what the file you upload is called. If a CDN is used, remember to clear the cache for this image!"
And I only change the date of the file. (same name, different size, diferent date)
I'm uploading a new file with the new dimensions, so the changes are not made with Javascript. (I understand)
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hi Eric,
This is odd, as I could see issues right now on my test site but after replacing the images the following happens:
Now, we are not applying the translations again and this is also not necessary in this case.
WPML has an internal action, that will only run if the site is not refreshed for more than about 70 seconds. This is when WPML begins to sync the media in the background and then the issues are gone.
The issues were there after uploading, but right now I do again not see an issue on my test site.
Also, the Media Replacer mentions that some issues even can be cache-related and sometimes you might run into unexpected issues if you replace different file types.
At the moment, on my tests, I was not actually able to constantly see an issue on the test site, which is why I need to run further tests and I need to ask you for some patience.
I will be looking into this tomorrow again.
In the meantime, please let me know if clearing the cache on your site solves the issue or if the issue might occur if you replace media with different file types.
Also, please send me a link to a product on your website on which I can currently see the issue.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Thank you for your video!
This seems to be content-related, as it works on the product template but not on the shop page.
Are you using a Divi Template for this shop page? Is there maybe the plugin "Divi BodyCommerce" involved?
May I have please a closer look into this on the staging site, so that I can try to recreate the issue?
I would like to offer to have a closer look at the problem and request temporary access (wp-admin) to the website to investigate this issue further.
You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.
IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private response form looks like this: hidden link
Next time you reply, click "I still need assistance."
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.