Skip Navigation

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.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Osama Mersal 1 year, 4 months ago.

Assisted by: Osama Mersal.

Author Posts
December 7, 2023 at 8:19 am #15013825

petterH

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.

Skärmbild 2023-12-07 091854.png
Skärmbild 2023-12-07 091603.png
Skärmbild 2023-12-07 091758.png
Skärmbild 2023-12-07 090625.png
Skärmbild 2023-12-07 090649.png
December 7, 2023 at 12:47 pm #15016751
petterH

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:

https://wpml.org/forums/topic/menu-language-switcher-doesnt-appear-on-the-default-language-home-page/

December 10, 2023 at 9:53 am #15030711

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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.

Therefore, I've split the other ticket and created a new ticket with this issue. (https://wpml.org/forums/topic/menu-language-switcher-doesnt-appear-on-the-default-language-home-page/)

Best regards,
Osama

December 10, 2023 at 2:17 pm #15031313

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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)

Best regards,
Osama

December 10, 2023 at 7:59 pm #15032033

petterH

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?

December 11, 2023 at 7:50 am #15033341

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

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.

Best regards,
Osama

December 11, 2023 at 7:52 am #15033353

petterH

I see. Do you know if there is a way to batch update or will we have to do them one by one?

December 11, 2023 at 7:56 am #15033369

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

You can update them by page, but I'm not sure if that will be helpful in your case.

Please bulk update a page of products, re-translate them, and check if that fixes the issue. (Kindly check the attached screenshot)

Best regards,
Osama

14951707-2023_11_29_15_25_21.jpg
December 11, 2023 at 8:49 am #15034083

petterH

Great, it seems it is all in place now!
Thanks a lot for your help 🙂