• Resolved azimuth67

    (@azimuth67)


    I want to translate a test inside a plugin. for example, when you add “universal product layout”. if this product has a discount. then it is displayed as “Sale” I want to translate it into another language and also other points<font _mstmutation=”1″></font>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Zenaul Islam

    (@zenaulislam)

    Hi @azimuth67 ,

    Thank you very much for reaching out to us 🙂

    Sorry for the issue you’re facing. In our Pro version, there is an option to change this. However, you can achieve it using the following filters:

    For shop and other pages:
    add_filter(‘woolentor_sale_badge_text’, function($badge) {
    $badge = ‘your text’;
    return $badge;
    });

    For single product page:
    add_filter(‘woocommerce_sale_flash’, function($badge) {
    $badge = ‘<span class=”onsale”>’ . ‘your text’ . ‘</span>’;
    return $badge;
    });

    If you still face any issues, feel free to contact our support center. Our support team will be happy to assist you.
    Support Center : https://woolentor.com/contact/

    Best regards,
    Zenaul Islam

    Plugin Author Zenaul Islam

    (@zenaulislam)

    It looks like your issue has been resolved or managed on your end. We will now mark this ticket as resolved. If you encounter any other issues, please feel free to create a new ticket.

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

The topic ‘translation into another language’ is closed to new replies.