Title: Cannot translate default message
Last modified: December 5, 2017

---

# Cannot translate default message

 *  Resolved [kiwidesign](https://wordpress.org/support/users/kiwidesign/)
 * (@kiwidesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/)
 * Hello there!
    First of all I’m on the free version of the plugin, and it’s great.
   Simple and perfectly fits my basic needs 🙂
 * I’m looking at the “Custom Shipment Message” in settings…
    I get that editing
   the custom message is a Pro feature, the problem is: if I were running an english
   website the default message would be perfectly fine, but my website is in italian,
   so I MUST change the message :/ is there any way I can localize it? WPML doesn’t
   seem to be able to find the correct string.
 * (for the record I would gladly buy it and support your work, but I had to buy
   a LOT of plugins already to setup my ecommerce, and I don’t really need the pro
   features, so I would stay FREE if possible)
 * Thank you so much for your help!

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

 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9762961)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * Apologies for the late response.
    Yes, with the [pro version](https://www.xadapter.com/product/woocommerce-shipment-tracking-pro/)
   you can edit the custom shipment message. This is the recommended option.
 * However, you can also hardcode the message in the plugin. The reference code 
   is in this directory : includes\track\class-wf-tracking-util.php
    line 124
 *  Thread Starter [kiwidesign](https://wordpress.org/support/users/kiwidesign/)
 * (@kiwidesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9774772)
 * Thank you very much [@xadapter](https://wordpress.org/support/users/xadapter/)!
 * I know it’s outside the scope of basic support but I hope you can help me 🙂
   
   I tried to copy the file in my child theme so that I wouldn’t have problems updating
   the plugin, but the file I copied doesn’t override the default. As you can see
   here I used the correct path, but it’s not recognized… [https://www.manymaltshirt.com/wp-content/uploads/2017/12/Schermata-2017-12-12-alle-10.26.32.png](https://www.manymaltshirt.com/wp-content/uploads/2017/12/Schermata-2017-12-12-alle-10.26.32.png)
 * Any tip? Thank you very much!
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9774872)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * Our team is making the translation for you. We will do it and get back to you
   by today or 1 more day. Hope that is fine?
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9776283)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * I apologise for my previous response. Unfortunately, we won’t be able to provide
   the complete translation on this as this is available for our premium customers
   only.
 * However, I can certainly help you.
    Regarding what you have done, copying the
   class-wf-tracking-util.php in to child theme may not work. You can edit the file
   inside the plugin and hardcode your string in line 124.
 * Hope this helps!
 *  Thread Starter [kiwidesign](https://wordpress.org/support/users/kiwidesign/)
 * (@kiwidesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9778751)
 * Hello there!
    I’m well aware that customizable message is a Pro feature… the 
   entire premise of my first message was that I don’t care about a “custom message”,
   but not being english the default message –that would be perfectly fine if my
   website was in English– is not suitable…
 * it would be great if you could include basic messages in more than one language.
 * for hardcoding the message I can do that of course, but it will be a pain for
   updating the plugin :/
 * Thanks for the kind and prompt help.
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9780899)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * We completely understand your point and thank you for your suggestion.
 * We shall see a possibility for this in the future.
    Thanks a lot!
 *  Thread Starter [kiwidesign](https://wordpress.org/support/users/kiwidesign/)
 * (@kiwidesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9781871)
 * Hey there, just a quick note:
    (I’m hardcoding the translation in the plugin)
 * line 124 in the class-wf-tracking-util.php file doesn’t actually translate the
   front-end line, but the one in the settings.
 * I changed line 133 of the same file for the second part of the string, but the
   first half doesn’t translate :/
 * I tried to change lines 41,43,50 of the class-wf-tracking-abstract.php but the
   change still doesn’t reflect in the frontend 🙁
    [https://www.manymaltshirt.com/wp-content/uploads/2017/12/Schermata-2017-12-14-alle-11.50.17.png](https://www.manymaltshirt.com/wp-content/uploads/2017/12/Schermata-2017-12-14-alle-11.50.17.png)
 * Am I doing something wrong? Thanks!
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9784948)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * Ideally changing lines 41,43,50 of the class-wf-tracking-abstract.php should 
   translate the first half of the tracking message. We have tested this.
 * For your convenience, I have attached a [screenshot](https://ibb.co/nGfKn6).
   
   Can you re-check this please?
 *  Thread Starter [kiwidesign](https://wordpress.org/support/users/kiwidesign/)
 * (@kiwidesign)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9785080)
 * Hello and thanks for taking the time to check this!
 * That was silly: apparently the first half of the message is “printed” once the
   tracking code is saved and doesn’t reflect changes to the PHP file…
    That’s why
   I kept seeing it in english! I tried with a new order and the message is just
   fine 🙂
 * Hoping you guys will include more translations in the future… also a note:
    I
   dunno about the PRO version, but the way Basic implements the string makes it
   untranslatable: for a WPML multilanguage website there is no way with the current
   implementation to translate the message in the various site languages.
 * Thank you!
 *  [xadapter](https://wordpress.org/support/users/xadapter/)
 * (@xadapter)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9785698)
 * Hi [@kiwidesign](https://wordpress.org/support/users/kiwidesign/),
 * Great that it worked for you.
    We will include more translations in the future.
 * Thank you for the feedback.

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

The topic ‘Cannot translate default message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woo-shipment-tracking-order-tracking_375c72.
   svg)
 * [WooCommerce Shipment Tracking Plugin](https://wordpress.org/plugins/woo-shipment-tracking-order-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-shipment-tracking-order-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-shipment-tracking-order-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-shipment-tracking-order-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-shipment-tracking-order-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-shipment-tracking-order-tracking/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [xadapter](https://wordpress.org/support/users/xadapter/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/cannot-translate-default-message/#post-9785698)
 * Status: resolved