• Resolved Miguel

    (@mhagenaars)


    Hello guys,

    I want to use an placeholder for a Woocommerce email subject. For example:

    Thank you for your order with reference {order_number}

    When I want to translate this in Translatepress and I am searching for this sentence I found a lot of strings like:

    Thank you for your order with reference 557

    Thank you for your order with reference 558

    Etcetera. How can I fix this that Translatepress understands that {order_number} is something dynamic?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Have you looked for those strings in Translation Editor->String Translation in the “Emails” tab?
    Cheers,

    Thread Starter Miguel

    (@mhagenaars)

    Hello Denis,

    Thank you for your answer. When I am looking on the (Translation Editor –> String Translation –> Emails) I can only find the default Woocommerce Email strings. But I also edited the subjects in the Email settings panel of Woocommerce.

    Best Regards,
    Miguel

    Thread Starter Miguel

    (@mhagenaars)

    Hello Denis,

    I deleted all the customized email subjects in the email settings from Woocommerce and used the Translatepress Woocommerce Email templates section for translating the default texts to new languages with customized texts. But still no luck. When a German or Englisman order a product they will still get the default Woocommerce subjects.

    Thread Starter Miguel

    (@mhagenaars)

    I found the solution!

    The Gettext translation has to be turned on in the settings menu of Translatepress.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce email subject placeholder’ is closed to new replies.