This thread is resolved. Here is a description of the problem and solution.

Problem: Error in attribute synchronization in WC Multilingual

Solution: This is happening because the Product Attribute taxonomies translation preference is set as *Not translatable*. We have to choose *Translatable - only show translated items* or *Translatable - use translation if available or fallback to default language* option for it in WPML>>Settings>>Taxonomies Translation.

Relevant Documentation: https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

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.

This topic contains 2 replies, has 2 voices.

Last updated by antonioP-35 1 year, 3 months ago.

Assigned support staff: Bigul.

Author Posts
April 2, 2019 at 2:55 pm

antonioP-35

I can not synchronize the multilingual Woocommerce color attributes, ajax fails (see screenshot), this error message is displayed in the Chrome console:

Uncaught TypeError: Cannot read property 'label' of undefined
at Object.WPML_core.templates/taxonomy-translation/status-trans-select.html (templates-compiled.js?ver=1.2.4:403)
at N.d.WPML_core.templates/taxonomy-translation/filter.html [as template] (templates-compiled.js?ver=1.2.4:33)
at N.d.render (filter-view.js?ver=1.2.4:43)
at s (backbone.min.js?ver=1.2.3:1)
at r (backbone.min.js?ver=1.2.3:1)
at m (backbone.min.js?ver=1.2.3:1)
at N.d.k.trigger (backbone.min.js?ver=1.2.3:1)
at N.d.processData (taxonomy.js?ver=5.1.1:119)
at Object.success (taxonomy.js?ver=5.1.1:72)
at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jquery-ui-but&load[]=ton,jquery-ui-position,jquery-ui-dialog,utils,underscore,wp-util,jquery-ui-sortable&ver=5.1.1:2)

Thank you
Best regards

April 2, 2019 at 6:21 pm #3519867

Bigul
Supporter

Languages: English (English )

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

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve these issues.

This may be happening because now Product Attribute taxonomies translation preference is set as *Not translatable*. Please choose *Translatable - only show translated items* option for it and check you are getting the expected result or not.

Please check the attached images for more details and let me know your feedback.

--
Thanks!

Bigul

April 3, 2019 at 7:59 am #3523273

antonioP-35

Everything worked perfectly.
Thank you