• Resolved ???? ??????

    (@maskonline)


    Hi
    How To Translate This Plugin To Other Language?
    I Use WordPress 5.2.2 And PHP 7.2
    I Translate wc-return-warranty.pot But No Change
    Can You Help Me?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wpeasysoft

    (@wpeasysoft)

    Hi @maskonline,
    We are working on it. We are going to update the plugin within few days and hopefully all translation related issues will be fixed.
    Thanks for using our plugin.

    Plugin Author wpeasysoft

    (@wpeasysoft)

    Hello @maskonline,

    Please update your plugin and test again. If you have any issues then let me know.

    Thanks

    Thread Starter ???? ??????

    (@maskonline)

    Hello
    How To Translate This Plugin

    Plugin Author wpeasysoft

    (@wpeasysoft)

    Hi,

    Thanks for your question.

    Translate a plugin is so easy now.
    You can translate the plugin by translating the plugins .pot file which is located here wp-content>plugins>wc-return-warrranty>languages>wc-return-warranty.pot and for that you can use the Poedit software.

    Please follow the instructions by clicking this link here https://docs.themeisle.com/article/893-translating-themes-using-poedit

    If you have any questions further then just let me know that I can help you more.

    Best regards.

    • This reply was modified 5 years, 6 months ago by wpeasysoft.
    Thread Starter ???? ??????

    (@maskonline)

    Hi
    Thank you for your guidance
    I translated the plugin into Persian and it worked fine

    If it’s okay to ask another question
    How can I personalize the reason for the request
    Instead of replacement and refund

    Plugin Author wpeasysoft

    (@wpeasysoft)

    Hello,

    You can not modify graphically Request Type. You can change those types using WordPress filter. There is a filter inside my plugin named wcrw_warranty_request_types.

    Let’s say, you want to add another type called Exchange. So you need to add below codes in your themes functions.php file

    
    add_filter( 'wcrw_warranty_request_types', 'wc124211_add_request_type', 10 );
    
    function wc124211_add_request_type( $types ) {
       $types['exchange'] = __( 'Exchange', 'your-text-domain' );
       return $types;
    }
    

    Thanks

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