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 29 replies, has 2 voices.

Last updated by Raja Mohammed 1 week, 1 day ago.

Assigned support staff: Raja Mohammed.

Author Posts
May 28, 2020 at 5:24 pm

violaH-2

hi, after update to Version 4.3.12 I cannot save translated products in woocommerce. when I save the field for sizes are empty when I do a refresh.

May 28, 2020 at 7:39 pm
May 28, 2020 at 7:44 pm
June 2, 2020 at 7:42 am #6271233

violaH-2

I transfered to cloudways

summary of issues
- language version for product options are not saved in woocommerce - wpml multilingual - product - product attributes
- product variant names (size names like "1-3 months") for product variants are not shown in product - variant. only a placelholder like "any size"
- frontend: product options are not displayed -
- frontend: product options are in the other language (de - en or vice versa)

we tried several different string translatation for option name "Größe" and troubleshooting page serveral times

June 2, 2020 at 2:03 pm #6275033

violaH-2

I transfered to cloudways

summary of issues
- language version for product options are not saved in woocommerce - wpml multilingual - product - product attributes
- product variant names (size names like "1-3 months") for product variants are not shown in product - variant. only a placelholder like "any size"
- frontend: product options are not displayed -
- frontend: product options are in the other language (de - en or vice versa)

we tried several different string translatation for option name "Größe" and troubleshooting page serveral times

English Version shows German Size Options, although "Size" is listed in English
hidden link

June 2, 2020 at 8:21 pm #6277293

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello there,

This ticket was related to Fatal error issue with WPML is that already resolved ? I see a set of issues which are not related to the issues reported in this ticket, I think the issue stated here is for a different ticket https://wpml.org/forums/topic/product-variant-values-in-german-and-english-changed/ please continue over there since he is already waiting for your response in that ticket. I am adding a note in the thread for the supporter since he already worked on this ticket, so that he can check the migrated site.

June 3, 2020 at 6:05 am #6279593

violaH-2

hello,
to solve the issues mentioned, wpml support instructed me to install the latest version of the plugins. The latest version caused Fatal Errors which stopped the whole wordpress system. I restored the backup (database and wp files) to the former system and I did a system clones for wpml support on cloudeways.

Please kindly let me know how to solve the issues mentioned above for the proper translation of product variants in German and English.

thank you
Georg

June 4, 2020 at 7:08 am #6290089

violaH-2

hello,
did you check the installation on cloudways?
thx Georg

June 4, 2020 at 7:57 pm #6298537

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have checked the cloned site, the issue happens only on the existing product and unable to reproduce the issue on a new product. I am trying out a few troubleshooting steps. this need some more time.

June 5, 2020 at 5:36 am #6301247

violaH-2

I found that the attribute for Size/Größe is named differently in English and German.

German
attribute_grose

English
attribute_groesse

German

<select id="grose" class="" name="attribute_grose" data-attribute_name="attribute_grose" data-show_option_none="yes"><option value="">Wähle eine Ausführung</option><option value="3-4 Jahre / 98-104 cm" class="attached enabled">3-4 Jahre / 98-104 cm</option><option value="5-6 Jahre / 110-116 cm" class="attached enabled">5-6 Jahre / 110-116 cm</option><option value="7-8 Jahre / 122-128 cm" class="attached enabled">7-8 Jahre / 122-128 cm</option><option value="9-11 Jahre / 134-140 cm" class="attached enabled">9-11 Jahre / 134-140 cm</option><option value="12-14 Jahre / 146-152 cm" class="attached enabled">12-14 Jahre / 146-152 cm</option></select>

English

<select id="groesse" class="" name="attribute_groesse" data-attribute_name="attribute_groesse" data-show_option_none="yes"><option value="">Choose an option</option><option value="3-4 years / 98-104 cm" class="attached enabled">3-4 years / 98-104 cm</option><option value="5-6 years / 110-116 cm" class="attached enabled">5-6 years / 110-116 cm</option><option value="7-8 years / 122-128 cm" class="attached enabled">7-8 years / 122-128 cm</option><option value="9-11 years / 134-140 cm" class="attached enabled">9-11 years / 134-140 cm</option><option value="12-14 years / 146-152 cm" class="attached enabled">12-14 years / 146-152 cm</option></select>

June 5, 2020 at 6:41 am #6301587

violaH-2

hello,
maybe that helps

I found that the attribute for size does have several names.

-gre
-grose
-groesse

I found that in the database wp_postmeta for the field _product_attributes

a:1:{s:5:"grose";a:6:{s:4:"name";s:7:"Größe";s:5:"value";s:152:"1-2 Jahre / 86-92 cm | 3-4 Jahre / 98-104 cm | 5-6 Jahre / 110-116 cm | 7-8 Jahre / 122-128 cm | 9-11 Jahre / 134-140 cm | 12-14 Jahre / 146-152 cm";s:8:"position";s:1:"0";s:10:"is_visible";s:1:"0";s:12:"is_variation";s:1:"1";s:11:"is_taxonomy";s:1:"0";}}

When I use Woocommerce - Multilingual - Product Translation that attribute name changes (sometimes, I do not know why).

I tried the troubleshooting page
- product variation synchronize 0 left
- remove errors for translated product variations: the number of issues is counted down, but when refreshing it remains the same number of errors eg 492 left.

June 6, 2020 at 7:00 am #6310295

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

This steps fixed the issue on the clone site.

Before you proceed, Secure a backup of your site and database

- Goto WPML > Support > Troubleshooting
- Click on the following
[x] Clear cache with WPML
[x] Select Variation in post type and click Synchronize posts translations
[x] Cleanup and optimize Strings table

Kind regards
Raja

June 6, 2020 at 8:51 am #6310559

violaH-2

I tried the clone site

the options in the English versions are in German language

English
hidden link

German
hidden link

Some products are missing the options completely

English
hidden link

German
hidden link

June 6, 2020 at 8:55 am #6310565

violaH-2

on the clone system there is a new custom attribute: attribute_size, which is NOT on the live system and NOT on the dev system

June 9, 2020 at 5:46 am #6326935

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I am checking this issue further, can you please run the troubleshooting steps in the dev server as mentioned here https://wpml.org/forums/topic/fatal-error-after-wpml-update/#post-6310295 let me know if there is any change.