Hello,
I'm trying to send an email with a certain template which begin like this (I added the partner in the context to be able to access it in the template)
Hello ${ctx['partner'].title.name or ''} ${ctx['partner'].firstname or ''} ${ctx['partner'].lastname or ''},
and the language field is set up with
${ctx['partner'].lang or ''}
My problem is that if the contact language is not in english, the email is correctly translated but the the title still appear in English. I checked and the translation is correctly set up for the title name. Is there a way to access the translation of the term through the template?