How to change WooCommerce text shipping in checkout

Aaron picture Aaron · Jun 24, 2015 · Viewed 27.6k times · Source

I am trying to change a text in the WooCommerce checkout page from Shipping to Delivery from Your Order Section. I tried to open the core files in FTP and tried to change it manually but I couldn't find the text anywhere. Any help on how to change it?

Answer

Rahul S picture Rahul S · Jun 24, 2015

Did you tried like this below:

// Add this to your functions.php

add_filter('gettext', 'translate_reply');
add_filter('ngettext', 'translate_reply');

function translate_reply($translated) {
$translated = str_ireplace('Shipping', 'Delivery', $translated);
return $translated;
}

Please see this link too: http://businessbloomer.com/woocommerce-edit-translate-shipping-handling-cart-checkout-page/ for more details