Skip to content Skip to sidebar

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

Problem:
The client is experiencing issues with incomplete translations and incorrect display of variable product images in different languages using WPML. Translated pages are not showing the correct headers or variation images, and the default WooCommerce template is used instead of the custom one.
Solution:
We applied a custom XML configuration to ensure that variation images are correctly linked across translations. Here is the XML code you need to use:

<custom-fields>
  <custom-field action="copy" type="post-ids" sub-type="attachment">_kt_extra_variation_img_ids</custom-field>
</custom-fields>

Additionally, for existing products showing incorrect images, we recommend making a minor change, reverting it, and then saving the variations.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify you have the latest versions of themes and plugins, and consider opening a new support ticket for further assistance at our 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.

Tagged: 

This topic contains 12 replies, has 0 voices.

Last updated by adriO 1 week, 1 day ago.

Assisted by: Kor.

Author Posts
January 21, 2026 at 3:03 pm #17750992

adriO

Hi,

You are right, a lot of translations are in the database and following your pointers shows the translations.

However, it is still very messy and incomplete. A bunch of strings are not translated and has to be reviewed by hand. I noticed that in some blogposts. Ok, I am able to translate them by hand using Google Translate. The reason I gave WPML a chance again was that WPML claims to translate without hassle and with much better results than Google translate or what ever competing plugin. What to do about that?
WPML can't expect from its customers to review all and every page, post or product by hand.....

Second, the products are still a big mess. I translated the Single Product Template to french and German but the pages are shown with the default Woocommerce template and without the header. The header image is in the template so that's to be expected when the Kadence Woo-template is not loaded.

Next are not all images linked correctly in the variations. The main variation image is shown but the gallery images for each and every variation are not. They remain the same as the default product gallery.

Header images (from Kadence elements) are not showing on translated pages, posts, archive pages or products. Short: nowhere.

Sadly, the history repeats itself. Years ago I purchased a lifetime subscriptions but I abandoned WPML due to very poor performance.

I paid 217.80 € for this ultimate poor result.....

Please WPML get your act together and provide me with a working solution. I am about to loose my client over it.

And Kor, believe me, it is not personal. I'm just frustrated. Working two days now to get it fixed and still no good result.

January 21, 2026 at 5:29 pm #17751636

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I’m still reviewing the variation images for this product:
hidden link and it's translated product here below.

hidden link
hidden link

Once I find a solution, I’ll apply it so that all variable products display the correct media.

January 21, 2026 at 5:32 pm #17751645

adriO

That would be very nice.
Please also note that not all products are shown in their translated page.
I noticed that a lot of them are not translated yet.

I will try translate them with my remaining credits.

January 22, 2026 at 11:11 am #17753452
adriO

Hey Kor,

There's a lot more failing in the 'products area'.
When selecting the category Snijplanken (Dutch) in the Winkel (Dutch for shop) you can see how the product panes are supposed to be. When selecting french or german on that page you can see the product panes are changing. The wrong kadence element is displayen in my opinion. The displayed element is the one used on the homepage.

Next, when switching to the french language the header image is displayed twice.
Seems a extra template part is invoked. I reviewed the settings briefly and they seems to be ok.
As I am very busy atm I might not be able to respond immediately but I will try to do that as quick as possible.

Thanks for helping me out.

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/product-category-page-is-broken/

January 22, 2026 at 11:13 am #17753465

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I'm still checking on the variation image issue. I'll split the ticket if required once I check the category issue.

January 22, 2026 at 3:14 pm #17754441

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

It looks like a compatibility issue with the product variation images and I need more time to check on this, so I've split the ticket here https://wpml.org/forums/topic/product-category-page-is-broken/ for a follow up.

As for this ticket, I will keep it open while I investigate this further.

January 22, 2026 at 5:52 pm #17755057

adriO

Hi Kor,
After translating or updating the products I noticed that the main variation image is ok but the image gallery for each variation is faulty.....

Next to that (just to inform you) I got another email from my wordpress setup that there was a fatal technical error. And as far as I tell it is wpml string translation again.

Souldn't we warn the devs about that?

January 22, 2026 at 5:55 pm #17755065

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. That error is coming from the "Theme and plugins localization" in WPML > Theme and plugins localization and I will check on that since I have the FTP access.

As for the missing variation images, I'm still checking on this, and I might have to escalate this to our 2nd Tier Support for further investigation. My apologies for the inconvenience. I'm doing my best to assist you further with this.

January 23, 2026 at 7:47 pm #17758199

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I have a copy of the site from your other ticket and will review it shortly. I’ll get back to you as soon as possible. My apologies for the inconvenience and the delay.

January 25, 2026 at 7:05 pm #17760379

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've escalated this to our 2nd Tier Support and I will come back to you once I have feedback.

January 26, 2026 at 4:00 pm #17763485

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. Our 2nd Tier Support shared a workaround and I've applied the custom XML configuration for you here hidden link

  <custom-fields>
    <custom-field action="copy" type="post-ids" sub-type="attachment">_kt_extra_variation_img_ids</custom-field>
  </custom-fields>

Then, I've fixed your existing products by resaving it. In the future, your translated products will show the variation gallery images.

January 26, 2026 at 4:18 pm #17763552

adriO

Thank you.
However, as far as I can tell it is not working flawlessly.
On this product hidden link I see no different images appearing when selecting a variation.

I opened the product in edit mode and hit the update button to no avail. What should be re-saved?

January 26, 2026 at 4:32 pm #17763639

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply, and my apologies—I thought I had fixed all the products for you. What I’ve done is shown in the video below: you’ll need to make a minor change, then revert it, and save the variations. This should resolve the issue.
hidden link

However, this issue will not happen to your new products, only the old ones. Let me know if there are still products showing the wrong variation images.

January 26, 2026 at 4:39 pm #17763650

adriO

Ok, I trust you when you say this is the solution. Viewing your video it has to be.
I will check the products and try to fix it myself when I notice some wrong images.
Good learning experience....