Support » Plugin: WooCommerce » Untranslated word “Shipping” in cart and checkout page

  • Resolved Dmi3k

    (@dmi3k)


    hi everyone. im looking for some help with plugin, because one word “shipping” in cart and checkout page is in English but whole site is in Ukrainian (as im from Ukraine). can you help me?

    • This topic was modified 4 years, 2 months ago by Dmi3k.
    • This topic was modified 4 years, 2 months ago by Dmi3k.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Please post the url to your site.

    Thread Starter Dmi3k

    (@dmi3k)

    https://shop.sportout.com.ua/
    [URL=http://piccy.info/view3/12511955/13a1e43b0a9a11fc366ad87c3bfff8f6/orig/][IMG]http://i.piccy.info/i9/2d837d59a581f035a3825fd36231846a/1532696561/29052/1260259/capture_07272018_160139_800.jpg[/IMG]

    • This reply was modified 4 years, 2 months ago by Dmi3k.

    That text “Shipping” is the “shipping package name”. I don’t think you can change it in settings.

    You can change it using this snippet:

    add_filter( 'woocommerce_shipping_package_name', 'custom_shipping_package_name' );
    function custom_shipping_package_name() {
      return 'Ukrainian translation for shipping goes here';
    } // end function
    Thread Starter Dmi3k

    (@dmi3k)

    lorro, done. Now i have endless loading/spinner on the checkout page.
    Here it is

    Just to test, does it work if you use an English word, say “Delivery”?

    Thread Starter Dmi3k

    (@dmi3k)

    nope, changing shipping to delivery with filter calls the same endless spiner…

    Um. Just copied the code from here and it still works for me. Using Storefront 2.3.3 as you are. What if you temporarily disable your payment gateways, use COD and test.

    Where did you put the code?

    Thread Starter Dmi3k

    (@dmi3k)

    have disable almost all the plugins, but it does not help. paste the coe in functions.php and it works fine but now i have endless spiner/loading

    So – it works fine with plugins deactivated, no spinner? Reactivate plugins one-by-one and check. Can you identify which plugin is breaking it?

    Alternatively, I have some custom css to try:

    #order_review .shipping th {
      color: #f8f8f8;
    }
    #order_review .shipping th:before {
      content: "Delivery";
      color: #6d6d6d;
    }
    Thread Starter Dmi3k

    (@dmi3k)

    UPDT. solved. the problem was that i make changes in win-notepad nor Notepad++ which has no BOM. lorro, thank you a lot!

    • This reply was modified 4 years, 2 months ago by Dmi3k.
    • This reply was modified 4 years, 2 months ago by Dmi3k.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Untranslated word “Shipping” in cart and checkout page’ is closed to new replies.