I have shipping labels that I define in woocommerce settings, but I’m using multi language website, so the labels are irrelevant for my secondary language.
Right now it’s looking like that on my shipping methods:
<?php if (get_locale() == 'en_US') { echo "shipping"; } else{ echo "משלוח"; } ?>
this is an example of how I translate most of my text fields, but I can’t reach the shipping label filter and use the code above.
How can I translate the shipping label using woocommerce filters?