lundi 26 mai 2014

Woocommerce Translate Cart Counter


Vote count:

-1




Hello I am having a hard time translating the "item" and "items" into danish. This is the original code



<?php global $woocommerce; ?>

<a class="cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', 'woothemes'); ?>"><?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> - <?php echo $woocommerce->cart->get_cart_total(); ?></a>


Now I tried to translate it by replacing the "item" to "Vare" and "items" to "Varer". But it did not work, it still shows "item" and "items".



asked 55 secs ago






Aucun commentaire:

Enregistrer un commentaire