localization of mails does not work

The mails now only get sent in the default language and not in the session language. Best would be to rather than passing lang as a parameter to the template to find out lang within scala, or maybe "best" practice is something completely different? Would it make sense to put long html mails into messages.en?

Update: Solution is to remove the multiple localized templates and do the localization using the @Messages mechanism as suggested by Mohammad.


Issue is closed.


Post a comment