VaLeXaR / wp-multilang

Multilingual plugin for WordPress.
131 stars 44 forks source link

Woocommerce attributes not working #156

Open dygon666 opened 4 years ago

dygon666 commented 4 years ago

Hi, the attributes on WooCommerce are not being translated. There's any solution for this?

dm-zw commented 4 years ago

Hi. did you setup it in wpm-config.json ?

aproxis commented 4 years ago

wp-multilang/includes/wpm-translation-functions.php

Comment strings 386-388

function wpm_translate_term( $term, $taxonomy, $lang = '' ) {

// if ( null === wpm_get_taxonomy_config( $taxonomy ) ) { // return $term; // } ...

aproxis commented 4 years ago

Hi. did you setup it in wpm-config.json ?

How can I check whether wpm-config.json is working? It looks like nothing changes after my updates to it.

aprinciple commented 3 years ago

Hi. did you setup it in wpm-config.json ?

How can I check whether wpm-config.json is working? It looks like nothing changes after my updates to it.

Hi, thanks for the hack, although it doesn't fix it, it's better this way) I have 3 languages and the translation in the attributes only works for 2 languages, the 3rd language is replaced by the main one

Screenshot 2021-03-13 at 13 23 42

Doesn't work for more than 2 languages, I currently have 3. Doesn't work only in attribute name, in categories ok

I added in taxonomy my custom attribute in wpm-config.json, but it's not working