Support » Plugin: WooCommerce » Translate “Customer matched zone”

  • Resolved steplab

    (@steplab)


    Hi,
    How to translate “Customer matched zone” string of message notice showing when a custome add a product on cart?
    Searched inside woocommerce-it_IT.po but nothing found.
    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter steplab

    (@steplab)

    Instead can you explain how to hide and remove this notice “Customer matched zone ..”?

    Thread Starter steplab

    (@steplab)

    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.

    Thread Starter steplab

    (@steplab)

    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

    Plugin Support Rynald0s.a11n

    (@rynald0s)

    Automattic Happiness Engineer

    Hi, @steplab!

    You can use a free translation plugin like Loco translate (https://wordpress.org/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!

    Thread Starter steplab

    (@steplab)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Translate “Customer matched zone”’ is closed to new replies.