Instead can you explain how to hide and remove this notice “Customer matched zone ..”?
Temporarily hide the message notice removing the check to the option shipping debug mode , inside Woocommerce Settings > Shipping.
Sean Cull
(@seanreloaded)
Automattic Happiness Engineer
Hi there,
The “Customer matched zone” message is only shown when shipping debug mode is enabled. To disable debug mode, go to WooCommerce > Shipping > Shipping Options and uncheck Enable debug mode.
My first question was how to TRANSLATE the message, not how to hide the message.
If I need to debug, my customers will see that message not translated?
Someone can answer to my topic: how to TRANSLATE the message “Customer matched zone”?
Thanks
Rynald0s
(@rynald0s)
Automattic Happiness Engineer
Hi, @steplab!
You can use a free translation plugin like Loco translate (https://ww.wp.xz.cn/plugins/loco-translate/). I know it may sound strange to “translate” your own language, but it works.
Here’s a video about it that outlines how it is used: https://www.youtube.com/watch?v=ZUPhsoUm-QE
Cheers!
Hi @rynald0s I know how to translate plugins. I use Loco translate and I searched inside woocommerce-it_IT.po with this plugin but didn’t found the string. But if the plugin didn’t use a __() _e() function for translate a string I can’t translate that string!
The issue is that string is not localized correctly. I think you must fix the script to allow users to translate this, inside this file
woocommerce\includes\class-wc-shipping.php
Maybe I can make it by my own but I think other users can appreciate the plugin can be localized better. So if the plugin autor fix this I will not loose my changes.
In hope you will fix this in the next plugin version,
Best regards