Background of the issue:
I am trying to resolve a translation issue where outdated attribute translations are displayed on legacy products, despite updating them. This issue seems to be related to incorrect mapping between the attributes to translate and the source language (French → English). We developed a script to enforce the correct translation calls, but old translations are still appearing on legacy products.
Symptoms:
Outdated attribute translations are displayed on the front end for legacy products, while new products are not affected. The issue seems to be a mapping problem between legacy attributes and the source language.
Questions:
Why are outdated attribute translations persisting on legacy products?
How can I correct the mapping issue between legacy attributes and the source language?
I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.
Can you please update WooCommerce, WPML and its add-ons (including WooCommerce Multilingual) to the latest version and check if the issue persists?
❌ Please make a full website backup before proceeding ❌
If the issue persists, can you please elaborate on what kind of attributes have the old products with the issue? Global or pre product attributes?
You may try the following (don't ignore the backup warning, please)
Open WPML → Support → Troubleshooting and run:
-Clear the cache in WPML
-Synchronize posts taxonomies
-Remove ghost entries from translation tables
-Fix post type assignment for translations
-Set language information
Flush all object/page caches and test a legacy product.
Also, try going to WooCommerce > WooCommerce Multilingual & Multicurrency -> Settings (tab) -> Troubleshooting (bottom right of the page) and run all the actions there except: "Allow to translate missing product" reviews