Home›Support›English Support›[Resolved] Images that need not be translated are partially not shown on translated page
[Resolved] Images that need not be translated are partially not shown on translated page
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is trying to translate only three specific images on their website using the Media Translation plugin. However, after doing so, some other images that do not require translation are not displayed on the translated pages. The client noticed that missing images have a pencil icon in the Media Translation editor, while the images that are displayed correctly have a plus icon
Solution: If you're experiencing missing images on your translated pages after using Media Translation, we recommend the following steps: 1) Navigate to WPML >> Support page, and click on the Troubleshooting link. 2) On the Troubleshooting page, click on the following options in the Clean up section, waiting for confirmation after each: - Clear the cache in WPML - Remove ghost entries from the translation tables - Fix element_type collation - Set language information - Fix WPML tables collation - Assign translation status to duplicated content - Fix terms count - Fix post type assignment - Cleanup and optimize string tables 3) Go to WPML >> Settings >> Media Translation. 4) Click on the Start button and wait for the process to finish.
After completing these steps, delete the homepage translation on the staging site and translate it again. This should resolve the issue as it may have been caused by corruption of the images in the English language.
For the translation of the website I needed to translate 3 images (display different images depending on the language selected).
Therefore I installed Media Translation and tried to translate (only) these 3 images.
However, some of the other images (which do not need translation) are not displayed on the translated pages.
I saw, that the missing images have a pencil icon (e. g. the logos for Bayer, BMW, Nissan, etc.), whereas the images that work have a plus icon in the Media Translation editor (see first picture)
I tried to provide the translation by saving the translation but the configuration does not seem to stick and I'm left with the situation in the second picture.
I cannot select "use the same image" and I certainly do not like to upload all the images a second time.
I also cleared the various DIVI caches, but the images remain missing.
What am I doing wrong?
How can I remove the language-neutral images from translation?
Is there any documentation that you are following?
Thank you for the details. Just to make sure, it is only happening with the translated Homepage?
Please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.
Thank you for the login information. Please try the following steps after a full site backup and make sure is there any difference in the result.
1) Upgrade to the latest version of the Divi theme(4.23.1)
2) Clear all types of caches
3) Visit Settings>>Permalinks and resave the settings
4) Update the German homepage after a minor edit in the page contents to refresh the translation settings
5) Update the English homepage
Do you have a staging/dev site(clone copy of the live site)? If the problem remains, it will help us to troubleshoot the issue without affecting your live site.
Thank you for the updates. We make to make sure this bug is happening in a minimal setup or not. So just to make sure, is it okay to deactivate all non-WPML plugins on hidden link
Also, please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server.
Feel free to deactivate any plugins that are not relevant for the problem.
I think you'll need the Divi Pixel plugin though, since there are many logos missing and (as fas as I remember) the logo slider is a DIVI Pixel module.
If it simplifies the debugging, feel free to duplicate the site for this purpose.
Of course, in the end, I need a solution that works with the complete site.
I had a few rounds of testing on your site. But not able to reproduce the issue exactly with a new page - hidden link
Therefore one request. We had a similar issue reported a few months back and it was resolved by deleting the translation of the page permanently and translating it again. You are using Advanced Translation Editor. So the translation memory will exist for the pages. If possible, please try it and let us know your feedback.
There are still images missing from the carousels on the "Home" page (sections "Welding technology" and "Surface technology"), as well as in the Logo slider above the page's footer.
Thank you for the updates. Just to make sure, have you ever translated the logo images or or deleted the images in English in the past? Because it is not showing in the backend now. Please check the following screencasts.
I'm not sure I fully understand your question or the intention of the screencasts.
We want to translate only the 3 images with the arrow symbol and the text (e. g. "Produkte" / "products").
I have no idea, why all the other images ended up in the translation editor.
I did not find any way to remove those images from the translation or to tell it to use the same as in the original language.
I your second video, you point to the "use another file" area. But I do not want to use (or upload) another file, I want to use the same (i. e. not translate it).
Thank you for the details. I went through the missing images one by one. So one more question. Have you ever deleted the images from Media>>Library after switching to English, from the following URL?
hidden link
Please check the attached images. 33 Images are missing in English. It included the missing images. For example logos like Nissan, Siemens, etc...
I'm pretty sure, that we did not manually delete the images (in whatever language).
May it be, that the translations haven't been created in the first place?
Should there always be an entry for every image in every language (even those that aren't translated)?
What can be done to fix the problem?
Would it make sense to roll back the project to before the media translation was done and redo it?
What would be the essential steps / settings in doing so to achieve the original goal (translate only the 3 mentioned images) and avoid running into the same problem again?