Home›Support›English Support›[Resolved] Product variations gone missing after using Advanced Translation Editor
[Resolved] Product variations gone missing after using Advanced Translation Editor
This thread is resolved. Here is a description of the problem and solution.
Problem: You are using the Advanced Translation Editor in WPML and facing two issues: handling soft returns and missing product variations in the German translation. The soft returns are not processed correctly, and the product variations expected in the German translation are not appearing. Solution: 1. For handling soft returns, ensure that global attributes are available and can be selected from the dropdown in the Advanced Translation Editor. More details can be found here: WPML Documentation on Taxonomies. 2. To address the missing product variations, follow these steps: - Make a full website backup. - Navigate to WooCommerce > WooCommerce Multilingual and Multicurrency > Settings > Troubleshooting. - Select the following options: Update products count, Sync product variations, Sync product categories (display type, thumbnail), and Fix translated variations relationships. - Click on Start and wait for the process to complete. - Update the original product and its translation.
If this solution does not resolve your issues or seems outdated, we recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.
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.
No supporters are available to work today on this forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Background of the issue:
I am trying to use the Advanced Translation Editor in WPML. I am experiencing two issues: handling soft returns and missing product variations in the German translation. The issue can be seen on this page: hidden link (Dutch language is the original).
Symptoms:
Firstly, the Advanced Translation Editor doesn't handle soft returns well. Secondly, the product variations are not showing up in the German translation. In the German translation, I expected to see buttons with: 8 Karat | 14 Karat | 18 Karat. In the English translation, I expected to see buttons with: 8 carat | 14 carat | 18 carat. Instead, I got: German translation: ... (nothing) and English translation: 8 karaat | 14 karaat | 18 karaat (so this was not translated).
Questions:
Why doesn't the Advanced Translation Editor handle soft returns well?
Why are the product variations not showing up in the German translation?
Regarding the missing variation buttons...
When I follow your steps and I choose an attribute to translate then I see only 4 attributes, some of which are translated as if they are in the original language. I expected to see many more attributes to be translated/synchronized.
Did I do something wrong?
Adding to this... I executed all the steps you mentioned, without result. The same problem remains.
As I mentioned in my previous comment... What I expected to see are attribute names like...
Lengte (or length in English or Länge in German),
Metaal (or metal or Metall),
Afmeting (or size or Größe) etc.
...as these are (some of) the attributes used on the webshop. Now there are only a few attributes shown like 'color' and 'variation', but none of them are related to the product (Akaija Bold in Gold) that I gave you as an example.
There's perhaps an important detail here. Only global attributes, set in Products > Attributes can be translated in WooCommerce > WooCommerce Multilingual and Multicurrency > Attributes.
Attributes created directly in the Product page, can be only translated along with the product. Those are called local attributes. Local attributes won't show in WooCommerce > WooCommerce Multilingual and Multicurrency > Attributes, that's expected.
By translating each of them in their respective location, your store should have them all in multiple languages. Let me know if that helps. If not, I'll be here to further support you.
Hi Lucas,
Thank you.
Indeed under WooCommerce > WooCommerce Multilingual and Multicurrency > Attributes there's nothing listed. So obviously all are local then.
I didn't know there is a difference, so my question is:
1. How can I see if an attribute is local or global (apart from seeing in the above mentioned list)?
2. Your last paragraph is a bit hard to understand for me: "By translating each of them in their respective location, your store should have them all in multiple languages."... When I go to the products list, in Dutch (primary language) I can change every attribute/variation. But when I change to German or English then the attributes and variations are locked. How do I overcome that?
1. How can I see if an attribute is local or global (apart from seeing in the above mentioned list)?
You can verify that on Products > Attributes. All the ones that are listed there, are global attributes and should show in WooCommerce > WooCommerce Multilingual and Multicurrency > Attributes.
How do I overcome that?
By default, attributes/variations can only be changed in the primary product. Make sure to use the Advanced Translation editor to translate your products, and do not edit them directly, inside WordPress. To make sure you're using the Translation Editor, visit the primary product (in the primary language) and check if the option marked in the image attached is selected.
Still there... I have a bit of time.
I think I did all as you said. And I've taken four screenshots.
One:
WooCommerce > WooCommerce Multilingual and Multicurrency > Attributes
This page is completely empty.
Two:
WPML Translation Editor with the product: Bold Akaija Gold.
As you see all variations are translated to German.
Three:
Edit page of product Bold Akaija Gold.
As you can see WPML Translation is checked.
'Eigenschappen' (Attributes, but in Dutch) tab shows 'metaal' (Metal or Metall)
Four:
Client side screenshot of Bold Akaija Gold in German: there are no variations.
Let me check if everything is working as expected. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
It seems they were out of sync and WPML was having trouble adjusting them. Please make a full website backup and follow these steps:
1. Go to WooCommerce > WooCommerce Multilungual and Multicurrency > Settings > Trobleshooting (check image). The link is in the bottom-right side;
2. Select the options marked in the image: Update products count, Sync products variations, Sync products categories (display type, thumbnail) and Fix translated variations relationships;
3. Click on Start and wait for the process to finish;
4. Update the original product and its translation;
You did it!
Thank you. I did all you wrote, tried it out with the Bold Akaija Gold in German translation, and the result is as on the image... what I hoped to see: 3 gold variations in German language.