Support » Plugin: WooCommerce » Problem with changing certain strings

  • Before last update i was using this code to change the greek translation of availiability expersions

    add_filter(‘gettext’, ‘translate_text’);
    add_filter(‘ngettext’, ‘translate_text’);

    function translate_text($translated) {
    $translated = str_ireplace(‘Διαθέσιμο’, ‘διαθεσιμο: Παράδoση 1 έως 3 ημέρες’, $translated);
    return $translated;


    add_filter(‘gettext’, ‘translate_reply’);
    add_filter(‘ngettext’, ‘translate_reply’);
    function translate_reply($translated) {
    $translated = str_ireplace(‘Εξαντλήθηκε’, ‘Κατόπιν Παραγγελίας’, $translated);
    return $translated;

    But now this does not work in single product view

    Any suggestions so i can make it work within single product too?

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with changing certain strings’ is closed to new replies.