I’m translating Legenda into Polish using POEDIT. And I have a problem with translating text showing how many items are in cart and for how much $ (text located on the right side of cart icon in header). I didn’t found this string in .pot file. How should I do this?Theme version: 3.1 WooCommerce version: 2.6.14
Thank you for using our theme!
Try to update your translation .po file as described here http://betterwp.net/wordpress-tips/create-pot-file-using-poedit./ (the section “Updating a .po (and .mo) file”).
I have the same issue as mkusinski.
Actually, the text translated well before (including in version 3.0). I just moved to version 3.1 and I am falling into this issue. Can you please fix it in your next version?
Is it also possible to provide with a quick interim solution?
As far as I see, line 908 of the file woo.php shows :
<?php echo wp_kses_data( sprintf( '<span class="badge-number">%1$u %2$s</span>', WC()->cart->get_cart_contents_count(), _nx( 'item for', 'items for', WC()->cart->get_cart_contents_count(), 'top cart items count text', ETHEME_DOMAIN ) ) );?>
This is where the issue seems to be located. The “item for” and “items for” words are not translatable. Do you confirm?
Thanks in advance for your help !
Open your translation file in PoEdit, then go to Catalogue > Update from POT file http://prntscr.com/exrg76 > select legenda.pot file from the latest theme package in languages directory > check the translation of needed phrases, save the file and re-upload it to your server.
If you upgraded woocommerce to the latest version then please revert back to 2.6.14 version https://downloads.wordpress.org/plugin/woocommerce.2.6.14.zip , as we haven’t released compatible theme update yet.
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty