Skip to content

Strings not translated in all email templates, keep curly braces around string  #19728

@sezio

Description

@sezio

Hello

In our mails, some strings are not translated and included with the curly brackets around it.
But if magento send the same mail again to an other customer, it will probably be translated fine without the curly brackets around the string.
We can't understand why the same string in the same mail templates, in the same language, are sometimes translated and sometimes not.

Preconditions (*)

  1. 2.2.5
  2. php 7.2
  3. apache 2.4

Steps to reproduce (*)

  1. ?

Expected result (*)

  1. All the translation in all the sent mails are translated fine.

Actual result (*)

  1. Curly braces are not removed from some translation in some mails. In other mails, the same translation are fine.

Example 1 :
Here is the subject of a wrong stock email alert :
{{{De retour en stock!}}{{De retour en stock!}}{{De retour en stock!}}{{theme}}}
While other stock email alert are fine with the good translation :
De retour en stock!

Example 2 :
In a first new_order mail with paypal payment method :
{{{Email du Payeur}}{{Email du Payeur}}{{Payer Email}}{{theme}}}
In a second one, we'll have :
Email du Payeur

Any help would be appreciated, I don't understand why it can be translated in some mails while not in some other.
Did anybody already had the same issue ?

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is validGate 1 Passed. Automatic verification of issue format passed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions