Answer the question
In order to leave comments, you need to log in
How to convert cart to woocommerce?
Why is "Basket" not translated? Below I attached the code as it is displayed in header.php, Translation is done through Loco Translate, everything is translated, namely this word is not. If you refresh the page, then for a split second a translation to "Basket" appears.
<div class="header__cart">
<div class="widget_shopping_cart_content">
<a href="/cart"><?php _e('Корзина', 'cona'); ?>
<span class="total"><?php echo WC()->cart->get_cart_contents_count(); ?></span>
</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
In fact, on the contrary, you need to write in English _e( 'Cart', 'cona' )
and translate into the languages \u200b\u200bthat you need. You can use the Loco Translate plugin or the Poedit program for this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question