mweimerskirch / wordpress-qtranslate-support-for-woocommerce

Plugin to make qTranslate work with WooCommerce
wordpress.org/plugins/qtranslate-support-for-woocommerce/
MIT License
6 stars 7 forks source link

Shipping method title bug #11

Closed les86 closed 9 years ago

les86 commented 10 years ago

Hello! First of all, thank you for a great plugin - it helped me a lot and saved my time!

But I have a little bug left with Shipping method translation. It appears normally on a cart page, but on checkout page it behaves very strangely. At first it looks ok - I see the name in a current language, but as soon as I fill in the email in the billing address form, the shipping method name changes to [:en]Free Shipping [:fr]Livraison Gratuite [:ru]Бесплатная доставка [:zh]免运费. Then I see this also on the order received page and in the confirmation email. I tried adding add_filter('woocommerce_shipping_method_title', 'qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage', 0); but it doesn't work. Can you offer some solution? Thank you!