Hello Auth0 folk!
I’m trying to implement a multi-language email template, specifically the password change email. The documentation here says:
You can use Liquid syntax along with properties from the user object to alter the content based on the user preferred language. For example:
{% if user.user_metadata.lang == 'es' %}
{% else %}
Hi {{ user.name }}, ...
{% endif %}
… but it just doesn’t do it for me. Also when using {% debug %}
, the user
object only has these variables:
How is the language set?
Thanks!
1 Like
Hmm thanks for reporting that!
It seems that you’re doing everything right according to the doc. Let me reach out to the team to find out more about that!
1 Like
Hey there!
Terribly sorry for huge delay in response but sometimes we struggle with the bandwidth in our team. We’re doing our best to provide you with the best developer support experience we can but sometimes the number of incoming questions is too huge.
I did some research and it seems that you’re doing everything correctly and there’s some bug on our side. I reported the issue internally and as soon as they fix it I will share it with you. Sorry for the inconvenience!
1 Like