Polylang translate shipping label


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:
enter image description here

  if (get_locale() == 'en_US') {
      echo "shipping";
      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?

Yotam 2 months 0 Answers 20 views 0

Leave an answer