Navigation überspringen

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Unterstützt die Zeitzone: Asia/Dhaka (GMT+06:00)

Dieses Thema enthält 5 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von sophiaK-11 Vor 2 Tage, 6 Stunden.

Assistiert von: Prosenjit Barman.

Verfasser Beiträge
Dezember 29, 2024 unter 11:39 pm #16551936

sophiaK-11

Hintergrund des Themas:
I translated the images on my website using the WPML Media Translation plugin. However, the translated images do not show up. Instead, only the original images are shown - also in the translated version of the website. Link to a page where the issue can be seen: versteckter Link

Die Symptome:
Translated images do not show up; only the original images are displayed in the translated version of the website.

Fragen:
Why are the translated images not displaying on the translated version of the website?
How can I ensure that the translated images appear correctly?

Dezember 30, 2024 unter 9:40 am #16552667

sophiaK-11

Suddenly, on some pages, the translated images show up, but on other pages they still don't: versteckter Link

I also tried to delete the cache.

Thanks in advance for your help!

Dezember 30, 2024 unter 11:27 am #16552984

Lucas Vidal de Andrade
Supporter

Sprachen: Englisch (English ) Spanisch (Español ) Deutsch (Deutsch ) Portugiesisch, Brasilien (Português )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly.

Make sure to have a full website backup and perform the following steps:

1. Make sure that WPML Media Translation is installed and active;
2. Make a small change to the original home page's content. You can add a blank space into a text, for example;
3. Go to WPML > Translation Management;
4. Select the home page and the images you wish to translate with it (when selecting the home page in the list, the images should show up to be selected as well);
5. Send it to translation;
6. Update the translation and save;

Is that solves the issue for the home page, you can perform it for other pages that have the same problem as well.

If that does not help, one of my colleagues will soon come to continue support.

Dezember 30, 2024 unter 3:11 pm #16553613

sophiaK-11

Thanks for your quick reply. I just did the steps exactly as listed by you. Unfortunately, this did not solve the problem.

I'm looking forward to receiving further help by you or by one of your colleagues.

Dezember 31, 2024 unter 6:38 am #16555008

Prosenjit Barman
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Dhaka (GMT+06:00)

Hi There!
I hope you're doing well!

I've taken over this ticket and will be happy to assist you further with this matter.

When using Media Translation, the translated image will only appear on the frontend of the translated page depending on how the image was originally added to the default page. If the image was added using an image tag (`<img>`), you will need to translate the image URL directly in the Translation Editor. In such cases, translating the image via Media Translation alone won’t suffice.

While translating the page or post containing the image, the image URL will appear in the Advanced Translation Editor. To locate it, type "HTTP" into the search box, as instructed in this guide, and then translate the link accordingly.

However, if the image is added using the default Gutenberg Image block or an Elementor widget, the image translated via Media Translation should appear correctly on the translated page. In this case, the image is retrieved through the WPML hook, ensuring it displays properly in each language.

If you've added the image using the default Gutenberg block and still don't see the image correctly in each language, you should check by updating the translation of the page. If the issue persists even after that, you can try the following steps:

- Please go to "WPML > Support > Troubleshooting"
- Select "Media" from the dropdown under cleanup and click on 'Synchronize Post taxonomies' button.
- Clear the caches from your site and browser and then check again.

Please try and let me know the update. I will be happy to help if you need further assistance in this matter.

Best regards,
Prosenjit

Januar 3, 2025 unter 11:37 am #16561174

sophiaK-11

Hi, sorry for the late reply. Unfortunately, this approach did not solve the problem. However, I have opened another, more general ticket (https://wpml.org/de/forums/topic/seit-der-installation-von-wpml-treten-in-meinem-wordpress-immer-wieder-fehler-auf-insbesondere-mit), as the problem seems to be of a general nature. I hope that in this context my problem with the images will also be solved. Therefore, this ticket can be closed. Thank you!