Skip to content Skip to sidebar

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.

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

Supporter timezone: America/Argentina/Buenos_Aires (GMT-03:00)

This topic contains 7 replies, has 1 voice.

Last updated by Otto 1 month ago.

Assisted by: Otto.

Author Posts
August 5, 2025 at 9:17 am #17295617

grupo-drvP

Background of the issue:
I have my website translated to Spanish from English using WPML. Recently, WPML stopped respecting my gallery images in each language. I have different gallery images for the Spanish version, but WPML uses my English gallery images for both versions. I use a functionality to show the first picture on the gallery of each product when the user hovers over the product, which works correctly. However, when visiting the product page, the image gallery of the English version is displayed.

Symptoms:
WPML uses English gallery images for both language versions instead of the specific images for the Spanish version.

Questions:
Why does WPML use English gallery images for both language versions?
How can I ensure WPML respects the different gallery images for each language?

August 6, 2025 at 10:51 am #17299153

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

It depends how gallery is being created and how you are translating the page.

If they are created as ACF fields and you are using manual WP editor, then you should use correct translation settings and set different image for each language.

If you are using WPML ATE editor, you use WPML media add-on and add different image via WPML > Media.

Please check:

- https://wpml.org/documentation/getting-started-guide/media-translation/
- https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/

Let us know how it goes.

Regards,
Drazen

August 7, 2025 at 10:00 am #17302067

grupo-drvP

Hi,
Thank you so much to try to help me but that is not the solution.

I am not translating the gallery with ACF or another plugin. I have just a different galleries for each language. In page "A" I have gallery images in English, in page "B" I have gallery images in Spanish. Nothing else.

I solved the problem by myself because your collegue does not say anything and I am paying the support, but anyway.

The problem was the plugin WPML String Translation applies the gallery images from the page "A->English" to the page "B->Spanish". It uses by default the gallery images in both pages.

WPML String Translation helps you to translate the widgets, for this reason I have installed, but it does not respect the gallery images. So, WPML String Translation is useless for my case.

Actually, I have the old problem that I had some months ago, how do I translate my widgets?
if in the case I want to translate them I have to implement WPML String Translation and it does not respect my gallery images?

Thank you so much.

August 8, 2025 at 2:28 pm #17305737

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now. I am also truly sorry for the poor experience so far.

If I understood correctly, now you want to translate widgets without installing String Translation, right?

To do so, you can use this method:
https://wpml.org/documentation/getting-started-guide/translating-widgets/#display-different-widgets-each-language

Best Regards,
Otto

August 11, 2025 at 1:00 pm #17309895

grupo-drvP

Hi Otto,
Thank you so much.
But I really do not understand this plugin.
When I removed from my website WPML String Translation and Wocoomerce translation the permalink were not available anymore to translate. As you can see in the picture and as I told you I remove them because WPML String Translation was getting by default my gallery in English and did not give me the option to add them in Spanish. And now I have not translated my permalinks because I removed those plugins.

Please can you help me with this problem. What is the correct way to do it. To get a gallery for each language and do not get by default the gallery of the page translated. And at the same time translate the permalinks.

Thank you so much.

Permalink.png
August 11, 2025 at 2:12 pm #17310320

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

The standard way to do is to have WPML core and WPML String Translation enabled.

Then, we need to investigate why you can't "translate" your gallery images.

To do so, can you please elaborate on how did you create the galleries? Are they the standard WP gallery block or did you use a builder for them? Which one?

Best Regards,
Otto

August 11, 2025 at 3:18 pm #17310579

grupo-drvP

They are the standard gallery and a standard way to translate them.
As I told you, I did this :
Page A version English -> I add my gallery in English.
And Page A version Spanish -> I add my gallery in Spanish.

I translate them using the button English and changing to Spanish. Why? because, it was the only way to do it.
Thank you

Translating way.png
Gallery Spanish.png
Gallery english.png
August 11, 2025 at 3:56 pm #17310811

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

The problem with your flow is that if you later edit the translation using the Advanced Translation Editor, the changes you did with the WP editor will be lost.

In order to properly translate the gallery images, you should use the Media Translation add-on (according to the debug information you've share you already have it in your site).

Please, "translate" the images following these steps:
https://wpml.org/documentation/getting-started-guide/media-translation/#how-to-display-different-media-per-language

Best Regards,
Otto

The topic ‘[Closed] Wpml does not respect the gallery images I have in each translation’ is closed to new replies.