Support » Plugin: Theme and plugin translation for Polylang (TTfP) » Sorry I’m not a developer (add text for translation)

  • Resolved José

    (@alquimia)


    Sorry, I’m not a developer!

    How I can add this for translation strings in backoffice?

    function bbloomer_add_content_specific_email( $order, $sent_to_admin, $plain_text, $email ) {
       if ( $email->id == 'customer_processing_order') {
          echo pll_e('<p class="email-upsell-p"><strong>Please, wait for our confirmation!</strong></p>');
       }
        if ( $email->id == 'customer_completed_order' ) {
          echo pll_e('<p class="email-upsell-p"><strong>Your Booking is Confirmed!</strong></p>');
       }
    }

    Can you help, please, I can’t translate this: echo pll_e('<p class="email-upsell-p"><strong>Your Booking is Confirmed!</strong></p>');

    • This topic was modified 3 weeks, 2 days ago by José.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.