Skip Navigation

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

Problem:
The client is experiencing issues with product attributes not being available for selection on the product page in different language versions after translation. The attributes appear correctly in the original language but not in the translations.
Solution:
1. Ensure that global attributes are created in the site's default language and avoid duplicating attributes under different names in different languages. This can be managed under WPML > Taxonomy Translation.
2. If changes are made to the original product's attributes or variations, save the variations again to sync these changes across translations. There is no need to re-translate the products if only attributes or variations are changed.
3. For issues related to caching, especially with WP Rocket, ensure that the cache is cleared after updates to products. This can be automated by setting up 'Always purge URLs' in WP Rocket settings to include:

/shop/*

4. If these steps do not resolve the issue, it may be helpful to deactivate unrelated plugins and switch to a default theme like Twenty Twenty-One to identify if the issue is related to specific plugins or themes.

If the problem persists or if this solution seems outdated or irrelevant 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. Additionally, please feel free to open a new support ticket for further assistance 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.

Tagged: 

This topic contains 25 replies, has 1 voice.

Last updated by Andreas W. 1 week, 2 days ago.

Assisted by: Andreas W..

Author Posts
May 24, 2025 at 1:59 pm #17068757

tarasL

For some reason, I am not receiving notifications about replies in this thread.
Currently, the settings are set to clear
/shop/(.*)
Did you add that?

May 24, 2025 at 5:25 pm #17068942

Andreas W.
WPML Supporter since 12/2018

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

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

Yes, I added this and I could no longer confirm the issue when creating translations.

The reason is, that it is recommended that any time a page or post is updated or published the cache should always be emptied.

WP Rocket does this automatically each time new content is created, but it seems not to do it for translations:
hidden link

How to clear the cache in WP Rocket:
hidden link

Similar issue:
https://wordpress.org/support/topic/is-it-ever-necessary-to-clear-the-cache/

More about the topic:
hidden link

May 26, 2025 at 7:35 am #17071240

tarasL

Thank you. I will keep an eye on the situation.

May 27, 2025 at 10:48 am #17077574

Andreas W.
WPML Supporter since 12/2018

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

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

Thank you for your message!

If you have any further questions, please let me know.