This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with WPML where images updated in the original language do not update in the translated versions. Additionally, when text on pages is changed and retranslated, the translated images are lost. Solution: First, ensure that the plugins 'Enable Media Replace' and 'Media Cleaner' are deactivated, as they might interfere with the WPML Media Translation functionality. Next, clear the cache on your hosting to ensure that no old data is causing the issue. If the problem persists, try removing the Media Translation plugin and reinstalling it to reset its settings and files. We also recommend creating a new article with an image, translating it, and checking if the issue still occurs. If these steps do not resolve the issue, it might be outdated or specific to your case. 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 problem continues, please open a new support ticket with us for further assistance at WPML support forum.
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 am trying to replace old pictures with new ones in my WordPress site using WPML. When I replace an existing image, it changes in the original language but not in the translated version. Additionally, if I change the text on pages that have already been completed and retranslate them, the translated images are lost. The issue can be seen on these pages: hidden link and hidden link.
Symptoms:
The image is changed in the original language but remains the old translated image in the translation. Translated images are lost when texts are changed and retranslated. I expected to see the same image as in German, only with the English translated image assigned to the original language image in WPML Media Translation, but instead, I got old or not translated images.
Questions:
Why does the image not update in the translated version when I replace it in the original language?
Why are translated images lost when I change and retranslate texts on completed pages?
As soon as you have backup. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
**IMPORTANT**
- Please make a backup of the site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box.
The private box looks like this: hidden link
Would you give me permission to install the Check Conflicts plugin? This will allow me to safely deactivate other plugins for testing, without affecting your live site.
I have created a new article with a image and have translated text and image -> as before perfectly. However, I still have the misbehaviour that if I change some text on this article afterwards and translate it again, the image on the article is unfortunately no longer translated.
I have also sent you the video screen recording of my desktop.
I also have the problem that when I change and translate an existing image on an existing article, I have the new image on the original language documentation but the old image is still on the translated documentation.
I made sure that we have not activated the two plugins :
We have activated the Plugin BasePress (Premium) Version 2.17.0.1 globally for all pages and articles.
Yes, I can reproduce all misbehaviour. Should I also make a video of the faulty image replacement function?
You received the first video by email, didn't you?
seems like I misunderstood you. We can't activate our Basepress Premium installation on another site, since we purchased a single-site license. We will check if the problem also exists in the free version and get back to you.
with the demo version of Basepress, I was unfortunately unable to reproduce any of the faulty behaviour. Everything looks fine here. When I then read in my licence on the test page provided by you and activated the premium version of Basepress, the translation of the articles no longer works at all. I created a German article and translated it into English. Unfortunately, I can now only access the English page and the German page is displayed as ‘not found’ - Please take a look at the screenshot.
I don't know how long my official published documentation will last without activating the premium BasePress licence. First of all the licence is active on your test page.
on our site both the Enable Media Replace and the Media Cleaner plugins are deactivated since you first mentioned them. This does not solve our problem. We also tried completely uninstalling them. Still: After changing an existing text, translating the page again, the images still lose their translation. So, to be clear in case there is an misunderstanding:
#####
Initially, translating an image works. But after changing any text on the site that contains the image afterwards, and translating the page again (to translate the changed text) the image looses its translation.
Steps to reproduce:
1. Create an article (or normal page)
2. Add text and image.
3. Translate both.
4. See that everything is fine here.
5. Change text.
6. Translate text.
7. See that the image lost its translation and shows the original image again.
ALSO: It has nothing to do with the post type "Article". The same problem exists for normale pages aswell. So it has nothing to do with the Basepress Articles.
#####
We tried using our Premium license on your test site, but as mentioned in my previous answer we have other problems there as well (translation doesn't work at all). We had to pull the premium license from your test site again, because otherwise our documentation stops working as expected.