I am building an application with ASP.NET Core 5.0 following DDD and the CQRS pattern. I internationalize on the presentational layer but when I send emails I send them in the application layer via an email sender service. This service doesnt know anything about internationalization because I have that capsuled on the presentational layer. So my question is how do I get internationalized emails in my application layer / email sender service, what is the best approach?
Edit: In my current example I am trying to register a user and sending a verfication email. So I am dispatching a createUser command on the presentational layer (a Web Rest API) to my application layer. I create the user and use an email sender service. The content of the email has to be in the users language. I don't think that sending that email needs to be moved to the presentational layer.
If you need code excerpts let me know.