Home›Support›English Support›[Resolved] Variables from the default language not showing for the additional languages
[Resolved] Variables from the default language not showing for the additional languages
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is unable to see variables from the default language for additional languages when adding a new product on their WooCommerce site. Even after attempting to fix translated variations relationships, the issue persists as the count remains unchanged upon page refresh. Solution: We recommend changing the Translation Option for
product_variation
in WPML > Settings > Post Types Translation > Variations to 'Translatable - only show translated items'. This setting adjustment should allow the product variables like 'XL' to appear in all languages. If you're experiencing this issue, try applying this setting and verify if the problem resolves.
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 problem persists, please open a new support ticket at WPML support forum for further assistance.
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.
<b>Background of the issue: </b>
I am trying to add a new product on my site hidden link and select an already created variable, such as XL, but it does not show for the additional languages.
<b>Symptoms: </b>
Variables from the default language are not showing for the additional languages.
<b>Questions: </b>
Why are the variables not showing for additional languages when I add a new product?
How can I ensure that product variables like XL appear in all languages?
"Fix translated variations relationships 484 left" processes but then on a page refresh it shows as 484 left each time as well.
Thanks for your patience. I've checked your translated page here hidden link in English and I'm able to select the XL size from the dropdown menu. May I know which product you are referring to?
After continuing to test I have found that manually "Duplicating" the product after publishing it successfully creates the English version. The issues appears when pressing "Translate" to translate the product, the attributes do not appear, which for this website we do not necessarily need.
Is it possible to automate the "Duplicating" of the product? We had custom code within the theme to do this previously, but it stopped working since the recent update to the plugin.
Thanks for your reply. I've checked and it seems to work fine now when I changed the Translation Option for "product_variation" in WPML > Settings > Post Types Translation > Variations to Translatable - only show translated items as shown in the attached screenshot. Could you give it another try? here is my test page hidden link
However, the goal here is to show the product variables/attributes regardless of translated or not. When a product is published, the translated version, in this case in English, should show the variables/attributes even if they are not translated. The customer is using WPML mainly for the basket, checkout and my account pages.
"Duplicating" seems to be working as expected on the LIVE website. See my previous reply.
How can we automate "Duplicating" the product each time?
or
Ensure variables/attributes show without a translation for all published products?
Thanks for your reply. Duplicating the product for the secondary language will display the same content on the frontend. If this method works for you, try duplicating your products using the Translation Management. WPML > Translation Management.
But the correct way to translate a product would be to use the option that I mentioned above.
Thank you. To clarify, you mean the correct way to translate a product would be to translate all parts of it e.g. variables/attributes, header, description etc?
Do you have an automated way to "Duplicating" each product though? Or is this process manual?
If we wanted to automate this, what would be the best approach to do this? Do you have any documentation on this? We had custom code in place which has since stopped working. Do you have any resources on this subject?
Great! Thank you for all the help. Cheers, and have a good day
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.