How to detect language in the Email Template base on trigger page's language?

Hey there!

Here you have more information about multilingual email templates: