Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
When hovering over an image on a page translated into German, the default English image is displayed instead of the translated image.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Navigate to WPML > Settings > Post Type Translation and set the post type "Carousel" to "Translatable - only show translated items".
2. Translate the Carousel or link the current Carousel that you created with the original one. You can follow this guide for assistance: https://wpml.org/faq/how-to-link-already-translated-pages/
3. Ensure that each Carousel uses its proper shortcode. Note that you will need to place each shortcode manually on each page.
4. If you use the Classic Translation Editor, you should be able to translate the shortcode directly. However, if you use the Advanced Translation Editor, translating such shortcode will require a workaround involving a code snippet.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 further assistance is needed, please open a new support ticket 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.

This topic contains 0 replies, has 2 voices.

Last updated by joH-6 1 week, 4 days ago.

Assisted by: Andreas W..

Author Posts
November 14, 2024 at 11:01 am

joH-6

Background of the issue:
Using standard Divi image module with hover effect to replace the image when it is hovered.

All images are translated, the page is also translated to German. But on German translation, when hover on an image, the default English image is shown.

November 14, 2024 at 2:14 pm
November 18, 2024 at 10:01 pm #16416772

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

Please try this:

Go to WPML > Settings > Post Type Translation and set the post type "Carousel" to "Translatable only show translated items".

Now, translate the Carousel or connect the current Carousel that you created with the original one, by following this guide:
https://wpml.org/faq/how-to-link-already-translated-pages/

Now, each Carousel uses its proper shortcode, which means in this case you will need to place each shortcode manually on each page.

You will not be able to translate such shortcode with the Advanced Translation Editor without using a workaround. If you are interested into this workaround which requires a code snippet, let me know.

If you use the Classic Translation Editor, you should be able to translate it.

Best regards
Andreas

November 22, 2024 at 1:46 pm #16434139

joH-6

very helpful advice