Title: Changing error text
Last modified: March 16, 2018

---

# Changing error text

 *  Resolved [ctuxboy](https://wordpress.org/support/users/ctuxboy/)
 * (@ctuxboy)
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/)
 * Hello,
 * How can i change this text on the checkout-page ([screenshot](https://screenshots.firefox.com/zrVC6tXMeymKe92D/solidcure.shop))
   
   _No shipping method has been selected. Please double check your address, or contact
   us if you need any help._
 * I found this text in this file:
    ../includes/class-wc-checkout.php on line 712.
 * Is it possible overriding with a hook or filter in the functions.php of my child-
   theme?
 * PS: I know it is possible change it in the language-file (ex. with Loco translate)
   but after every update the text is changed to the original text)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Caleb Burks](https://wordpress.org/support/users/icaleb/)
 * (@icaleb)
 * Automattic Happiness Engineer
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10083774)
 * > I know it is possible change it in the language-file (ex. with Loco translate)
   > but after every update the text is changed to the original text)
 * Translating is the correct way. It sounds like your translation files are just
   set to be stored in the wrong location (likely in the plugin folder). There should
   be a setting for this in Loco translate,
 * Another option is custom code in a child theme: [https://www.speakinginbytes.com/2013/10/gettext-filter-wordpress/](https://www.speakinginbytes.com/2013/10/gettext-filter-wordpress/)
 *  Thread Starter [ctuxboy](https://wordpress.org/support/users/ctuxboy/)
 * (@ctuxboy)
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10083792)
 * Hi Caleb,
 * Thanks for your answer.
    I try this in the next days 🙂
 * Regards,
    Christophe
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10083818)
 * The update-safe protected custom location for Loco Translate files is explained
   here:
    [https://localise.biz/wordpress/plugin/manual/msginit#locations](https://localise.biz/wordpress/plugin/manual/msginit#locations)
 * However, you’ll need to update your custom file yourself whenever there are any
   new strings. Instead, Caleb’s function is good, or you can try:
    [https://wordpress.org/plugins/say-what/](https://wordpress.org/plugins/say-what/)
 *  Thread Starter [ctuxboy](https://wordpress.org/support/users/ctuxboy/)
 * (@ctuxboy)
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10084001)
 * Hi [@lorro](https://wordpress.org/support/users/lorro/),
 * Thanks for the useful link.
    I think relocate the Loco file can help me a lot,
   i have also other text that i will change and this can solve the problem.
 * Thanks a lot guys for the help 🙂
 * Christophe
 *  Thread Starter [ctuxboy](https://wordpress.org/support/users/ctuxboy/)
 * (@ctuxboy)
 * [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10085652)
 * Hi guys,
 * It works perfect now with Loco Translate.
    Re-locate the language-file do the
   job 🙂
 * Thanks for the help!!!
 * Regards,
    Christophe

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Changing error text’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [ctuxboy](https://wordpress.org/support/users/ctuxboy/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/changing-error-text/#post-10085652)
 * Status: resolved