• Hi, does anyone know how to translate the: “Print:?Open print view in browser” link that is injected in to the customer’s emails? I’ve tried with updating the .mo/.po files and using Loco translate plugin but neither have any effect.

Viewing 5 replies - 1 through 5 (of 5 total)
  • mellypetty

    (@mellypetty)

    Try to input the code below in functions.php.

    add_filter( ‘wcdn_print_text_in_email’, function() {
      return “Print:”; // Translate to target language
    } );

    add_filter( ‘wcdn_print_view_in_browser_text_in_email’, function() {
      return “Open print view in browser”; // Translate to target language
    } );

    I hope this plugin will be updated to allow translation with the .mo/.po files.

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @uprisen and @mellypetty,

    Sorry for the delay in response to this.

    Currently, this is a bug in our plugin that the “Print: Open print view in browser” link text is not being translated. We have escalated this issue on our GitHub repository. Our development team will be checking on this in future updates of our plugin and will take the necessary action to fix this behavior.

    I will let you know as soon as there is an update of the same. I hope that is fine.

    Regards,
    Priyanka

    Thread Starter uprisen

    (@uprisen)

    Hi @priyankajagtap thank you for the update. Unfortunately this issue is still not resolved with the latest plugin update. The string “Print: Open print view in browser”?is not found with Loco in the .po file.

    Br,
    /John

    Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @uprisen,

    Sorry for the delay in response to this.

    I will check on this with the development team and will surely let you know the update of the same.

    Thread Starter uprisen

    (@uprisen)

    Hi, this is still a persisting problem. In the changelog for v. 5.0.0 it says: “Fix – Translations for the print link in emails do not work”.

    Could you please provide the steps needed in order to translate this string, thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.