Home›Support›English Support›[Resolved] Fields from Custom Fields for Variations not appearing on translated sites
[Resolved] Fields from Custom Fields for Variations not appearing on translated sites
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where fields from Custom Fields for Variations are not showing up on the translated versions of their website. Although the fields have been translated via WooCommerce Multilingual, they are not editable in other languages and are missing on the front end.
Solution: We recommend the following steps to resolve the issue: 1. Navigate to Products-> Variation Field Groups. 2. Switch the language to English. 3. Edit the group. 4. Translate the field label manually. 5. Update the group. 6. Edit the product in the default language. 7. Click the
"Update"
button. 8. Update the English translation.
After completing these steps, the client should verify if the field labels are now correctly translated on the front end.
If this solution does not seem relevant to your situation, please do not hesitate to 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.
Tell us what you are trying to do?
I have used automatic translation with good results to three languages, but the fields from Custom Fields for Variations are not showing up on the translated sites. I have reached out to the developers at Iconic and they can confirm the issue on our site, but also confirmed that this is supposed to work and they have compatibility with WPML. They wanted me to reach out to you before diving in deeper. They suspected that maybe these strings have not synced properly.
Is there a similar example that we can see?
You can see a lot of data fields on this product page in Swedish: hidden link
But they are missing here on the English version: hidden link
I can't edit the fields on the product on the other languages, they are locked, but I can see that the fields have been translated via Woocommerce Multilingual, but perhaps there has been some issue there with the strings? They seem to be part of a table structure in the translation and I don't know if that is supposed to be.
I just got an idea... Could it work if I switched from automatic translation now that the site has been translated and edit the fields manually when the lock is gone? But perhaps that has other downsides... Let me know if you need access to the site.
Another issue, probably unrelated, I encountered now is that the language switcher does not show on the parent language front page. It does appear on the translated front pages, but the parent language is not listed. I use a different menu on sub-pages and there it works fine. But on the main menu on the front page it does not work. Do you know what could cause this issue?
New threads created by Osama Mersal and linked to this one are listed below:
Thanks for contacting WPML forums support. I'll be glad to help you today.
1) First of all, sorry for the late reply; it was due to a higher workload. 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 backup your database and website ❌
✙ I would need your permission to de-activate and re-activate the Plugins and the Theme and change configurations on the site. This is also a reason 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.
2) we try to keep one issue per ticket in our forum. Continuing with one ticket per issue helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.
Thanks for the access details. Please check the following steps:
1- Go to Products-> Variation Field Groups
2- Switch the language to English
3- Edit the group
4- Translate the field label manually
5- Update the group
6- Edit the product in the default language
7- Click the "Update" button
8- Update the English translation
After the above steps, please check if the field labels are translated on the front end. (hidden link)
It works! Great 🙂
How should I proceed to make it work on all products? Will I have to do it manually on every one? Or is it enough to do it manually on the field groups for Danish and Finnish too?
After translating the field groups manually in all languages, you need to update the products in the default language and update their translation using the WPML translation editor to translate the missing strings.