[Resolved] Wpml transaltion with WooCommerce categories gone wrong
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to translate WooCommerce categories using WPML and encountering issues with malformed category translations when using automatic translation or the 'Copy to all languages' option. After translation, all categories appear as top-level (parent) categories, and the hierarchy structure is lost. Additionally, the 'Synchronize product categories assignment in content' button doesn’t seem to automatically translate categories. Solution: To resolve this issue, we recommend the following steps: 1. Create a test product. 2. Add all the categories to this product. 3. Translate this product. After completing these steps, you should see all the categories translated with the correct hierarchy. For more detailed guidance on translating all taxonomy terms at once, please check this guide.
Please note that this solution might be outdated or not applicable to your specific 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. If the issue persists, please open a new support ticket 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.
Background of the issue:
I am trying to translate WooCommerce categories using WPML. I encountered issues with malformed category translations when using automatic translation or the 'Copy to all languages' option under WPML → Taxonomy Translations. The issue can be seen on this page: hidden link
Symptoms:
After translation, all categories are appearing as top-level (parent) categories, and the hierarchy structure is lost. Additionally, the 'Synchronize product categories assignment in content' button doesn’t seem to automatically translate categories.
Questions:
Why are all categories appearing as top-level categories after translation?
Does the 'Synchronize product categories assignment in content' button handle translation or only sync existing category assignments between languages?
I followed all the steps you mentioned: updated the code in the specified files, uploaded it using FileZilla, and cleared all site caches with the Breeze plugin. I already had manually created categories in WooCommerce, then uploaded products using my CSV file. After the upload completed successfully, I enabled automatic translation — but I’m still facing the same issue: the product category hierarchy isn’t created in other languages, and all categories appear at the parent level except in the default English language.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes, and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
Hierarchy is ok but some translation still 15 some 25 but in english total 26 as one is uncategorized can you tell me why total number of translations not matches upto 26 as english ? what i need to do
Hussh! Still hierarchy lost, i followed your instructions after 15 categories translations, remaining 11, i selected all that remaining one categories in test product and send to translation but i lost the structure again, this would be helpful if we get any option to translate all default english one categories automatically by one button, then we upload product so these will be connected automatically, any solution which would be easily applicable, let me know please thanks!
I need your permission to install the Duplicator Pro plugin to take a local copy of your site to debug the issue further and consult our 2nd tier support team if needed.