I need help with php syntax below. Because I have several storeviews with magento, the Bold word Warenkorb should be replaced by something like the following:
<?php echo $this->__('My Cart') ?>
so that with other storeviews the word Warenkorb will be translated.
Does anybody know how to do this?
<?php
//get total items in cart
$count = $this->helper('checkout/cart')->getSummaryCount();
//get total price
$total = $this->helper('checkout/cart')->getQuote()->getGrandTotal();
if( $count == 0 ) {
echo $this->__(' <a href="http://www.cococana.de/index.php/checkout/cart/"> Warenkorb: <br />   %s',$count);
}
if( $count == 1 ) {
echo $this->__(' <a href="http://www.cococana.de/index.php/checkout/cart/"> Warenkorb <br />  ',$count);
}
if( $count > 1 ) {
echo $this->__(' <a href="http://www.cococana.de/index.php/checkout/cart/"> Warenkorb: <br />   %s',$count);
}
echo $this->__(' Artikel: %s', $this->helper('core')->formatPrice($total, false));
?>