0

After updating Woocommerce to to 3.4* the translation of the shipping label at the checkout page doesen't work. The translation files are correctly configured but the english translation "Shipping" is showing where the Swedish translation "Frakt" where previously shown. (before updating Woocommerce)

1 Answer 1

0

This seems to be a common bug likely caused by the WC update. To solve the issue the best solution currently seems to be use the filter "woocommerce_shipping_package_name"

function custom_shipping_package_name( $name ) {
  return 'Frakt';
}
add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.