Home›Support›English Support›[Resolved] woocommerce multilingual attributes not working on the second language
[Resolved] woocommerce multilingual attributes not working on the second language
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was unable to see options for color and size for variable products in the English translation of their WooCommerce store, although it was working in the Greek language.
Solution: First, we recommended the client to ensure they are using the latest versions of WordPress, WPML plugins, WooCommerce, and their theme. We also advised increasing the WP Memory Limit to at least 256 MB and the MaxInputVars to 10000 for better performance.
After further debugging, we found that the translation for attribute terms did not exist in the database. We then provided the following steps:
Translate the attributes to English from Greek at WooCommerce>>WooCommerce Multilingual>>Attributes screen.
Go to WooCommerce>>WooCommerce Multilingual>>Status and click on the *Troubleshooting* link at the bottom of the screen.
Select *Update products count* & *Sync products variations* options, and run the troubleshooting action.
Edit the variable product in the original language and go to Variations.
Expand a variation, change the price to trigger the save button, revert the change, and then save.
We advised the client to perform these steps after a full site backup and to check the product on the frontend to ensure it is synced to the translation.
If the solution provided here is not relevant due to being outdated or not applicable to your case, we highly recommend checking the related 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 with us.
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.
The bug is existing after the initial troubleshooting steps. So consulting with our team for the expert opinion. We will get back to you as early as possible. Please wait.
For your kind updates, our second-tier team is working on this bug. However, the problem remains after the primary debugging procedures.
Please check the attached images. The Product attributes are showing as mixed in the backend. It will not happen by upgrading a plugin or theme. So we would like to know the following for tracking this bug. It will help us a lot in debugging. Thank you for your kind understanding.
1) Have you made any other changes in the site recently like migration from one server to another?
2) Did you have a backup before upgrading the plugins, or did this bug happen before you upgraded?
Listen. This is not my first time that i have created an e-commerce website. I don't know when this happened but this website was working. If your plugin destroyed the taxonomy, i can't know how this happened. If you can't fix it just tell me to find another way. We are here for 10 days and the website is mallfunctioning.
I am sorry for the trouble caused.
As per my initial debugging, the database has been messed up causing this issue. Now the question is how this happened so as you said it happened after the update we would like to replicate this bug.
To do this we just need an old backup (just DB is enough) where it was working then we will upgrade WPML and WCML.
If this happened due to our updates we will patch the DB manually.
i can't know how this happened.
Sorry for the misunderstanding we are not asking for any technical details or reason for the issue. We are just asking old backup where it is working. It is not necessary to be exactly before the update it could be a couple of months or 1 year old too.
If you don't have any backup please let us know we will check what can be done.
My hosting keeps backup for 30 days. So I don't have an older backup. The last backup I have is on 15th of January, which I don't believe will help. The problem I have is only on size and color attributes. The other translations are ok.
Thank you for the updates. I've forwarded them to our second-tier team for further investigation. We will get back to you as soon as possible. We appreciate your patience.
We conducted detailed debugging on this. The translation for attribute terms does not exist in the database. However, we are now achieving the expected results after following these steps.
1) Visit WooCommerce>>WooCommerce Multilingual>>Attributes screen
2) Translate the attributes to English from Greek
3) Visit WooCommerce>>WooCommerce Multilingual>>Status, a click on *Troubleshooting* link(on the bottom of the screen)
4) Select *Update products count* & *Sync products variations* options, and run the troubleshooting action. Wait until the process is complete.
5) Go to the Products>>All Products in the original language and open variable product for editing
6) Go to Variations, click on a variation and expand it
7) Change the price to something else(This is only to enable the button save changes to appear and no actual change or saving is necessary at this point)
8) Change it back
9) Press the *Save changes* button
10) Visit the product in frontend, and check now it is synced to the translation
Please try it after a full site backup and let us know your feedback.
The problems are 3. At first it doesn't translate the term "ΜΕΓΕΘΟΣ" which corresponds to size. At second it doesn't tranlate all sizes, XXL is missing. I have 5 sizes (S,M,L,XL,XXL). At third it only applies to one product. So even if it works, I will have to do this procedure for all my variable products.
New threads created by Bigul and linked to this one are listed below:
Thank you for the updates. I have shared your feedback about the workaround with our team.
Please check the attached images. The following product does not have the variation for XXL. That is why it is not showing.
hidden link
Please note, that I have opened a new ticket for the Attribute name translation. As per our support policies, we can only handle one issue per ticket. It will help us to serve you better and we can avoid discussing multiple problems in one ticket. I will get back to you soon on the latest ticket. Please wait. Thank you for your understanding.
The problem remain in other products. There should be an easier way to update the products. I have many variable products with many different attributes. I can't do it one by one. If you can't do it just tell me to find another way. But the point is that i have some other websites with this plugin and i am afraid to update it, because i don't want to have the same problem.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.