-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
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 (*)
- 2.2.5
- php 7.2
- apache 2.4
Steps to reproduce (*)
- ?
Expected result (*)
- All the translation in all the sent mails are translated fine.
Actual result (*)
- 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 :)