I searched the internet for a possible solution but wasnt able to find one.
The Labels of linked products in a grouped product apear like:
[:de]german value[:en]english value[:]
My goal is to get the title/label in the current languge of my site
do I need to edit the call of my label in grouped.php?
if you need any further information tell me.
You have to edit
grouped.phpinside/wp-content/themes/YOUR_THEME/woocommerce/single-product/add-to-cart/grouped.phpWrap all the instances of
$grouped_product->get_name()into a__()function.In my case I had the following code in
grouped.php:so I used the translation function
__()to get rid of qTranslate-X language tags: