Hey everyone, how’s it going?
I’m working on a multi-language project, so we have 3 bindings: PT/EN/ES.
The trade policies are configured correctly, but the problem is with the email templates — whenever an email is sent, it’s always in Portuguese. Does anyone have any idea how to translate them?
Hey @ImediataDesign1, how’s it going?
In the context of VTEX Message Center for sending messages, I think the only solution would be to fill the template with conditionals:
{{#if (eq cultureInfo "pt-BR")}}
Olá {{clientName}}, obrigado por sua compra!
{{/if}}
{{#if (eq cultureInfo "en-US")}}
Hi {{clientName}}, thank you for your purchase!
{{/if}}
{{#if (eq cultureInfo "es-ES")}}
¡Hola {{clientName}}, gracias por tu compra!
{{/if}}