Anyone a best practice how to setup email templates in multisite or can point me into the right direction?
Ideally, I’d like to use my email templates in multiple language.
I’m using Form Builder so, potentially, I could use a hidden field with a language code set by every language and use that in the template if if that’s the way to go.
{% if language == "lang1" %} {# language 1 #}
Hi {{ name|title }},
{% elseif language == "lang2" %} {# language 2 #}
Hi mate,
{% else %} {# default language #}
Hi default
{% endif %}