• Hello,

    i have a website into italian but suddenly an amount of strings of Woocommerce are shown into english. All the strings are translated with Loco but it seems impossibile to be applied. Could you help me to figure out why it happens?
    Thanks
    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • unless you have resolved this, you may try

    // QUICKLY TRANSLATE ANY STRINGS THAT DON’T GET TRANSLATED
    add_filter(‘gettext’, ‘translate_text’);
    add_filter(‘ngettext’, ‘translate_text’);
    function translate_text($translated) {
    $translated = str_ireplace(‘View your shopping cart’, ‘mostra carrello’, $translated);
    $translated = str_ireplace(‘Start shopping’, ‘inizia a comprare’, $translated);
    return $translated;
    }

    Thanks @devsaredead !

    I was stuck with Customer Review missing strings for hours ????

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strings for Woocommerce not working’ is closed to new replies.