Hello,
I want to translate these elements, I tried to modify the english word in php file but it doesn’t work. Thank you.
– woo.php:
<?php
} else {echo ‘<p class=”empty a-center”>’ . __(‘No products in the cart.‘, ETHEME_DOMAIN) . ‘</p>’;}
=> ‘Votre panier est vide.‘
global $woocommerce;
?>
<span class=’shop-text’><?php _e(‘Cart‘, ETHEME_DOMAIN) ?> : <span class=”total”><?php echo $woocommerce->cart->get_cart_subtotal(); ?></span></span>
<?php}
=> ‘Panier :‘
– theme-functions.php:
author’ => ‘<div class=”form-group comment-form-author”>’.
<label for=”author” class=”control-label”>’.__(‘Name‘, ETHEME_DOMAIN).’ ‘.($req ? $reqT : ”).'</label>’
=> ‘Votre nom‘
<p class=”form-row right”>
<input type=”hidden” name=”et_register” value=”1″>
<button class=”btn btn-black big text-center submitbtn” type=”submit”><span><?php _e( “Register“, ETHEME_DOMAIN ) ?></span></button>
</p>
=> ‘Je m’inscris !‘