Skip Navigation

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

Problem:
You are experiencing an issue where attribute images are not changing to the correct color on the Swedish version of your site. Specifically, when you switch to blue, the images do not update accordingly.
Solution:
First, ensure that the translations for the attributes are correctly updated. We have tested this by updating the translations on a local copy of your site, and the issue was resolved.
Additionally, we noticed errors when switching the language on the original product page. These errors persisted even when WPML and the WooCommerce add-on were disabled, indicating that they are not caused by WPML. We recommend you contact WooCommerce or the support teams for the involved add-ons to investigate these errors further.

If this solution does not apply to your case, or if it seems outdated, 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 issues persist, please open a new support ticket with us for further assistance.

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 1 voice.

Last updated by Andreas W. 3 weeks, 2 days ago.

Assisted by: Andreas W..

Author Posts
March 13, 2025 at 2:11 pm

Jenny

Background of the issue:
I am trying to show attribute images in the correct color on the Swedish version of my site. The issue can be seen on the Swedish page: hidden link. I expected to see the blue images when changing to blue. English page for reference: hidden link. Print screen: hidden link.

Symptoms:
On the Swedish page, nothing happens when changing to blue. Print screen: hidden link.

Questions:
Why are the attribute images not changing to blue on the Swedish page?
How can I fix the issue of attribute images not displaying correctly in the second language?

March 13, 2025 at 3:00 pm
March 15, 2025 at 1:44 pm #16819902

Andreas W.
Supporter

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

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

Hello,

Take note, that our supporter did already take a local copy of your site and the issue did not occur there.

After updating the translation it is working here now:
hidden link

Currently, I do see errors when switching the language on the original product. See screenshot.

Those errors even occur if you disable WPML and our WooCommerce add-on for a moment which means that they are not caused by WPML.

I would suggest you investigate those errors together with WooCommerce or the relative support teams for the involved add-ons.

Best regards
Andreas