Default Language for Admin Related Emails


(Alan Levine) #1

I am running a community for a mostly Spanish speaking audience, and having a default language setting works great for them.

I am the admin, and do not speak Spanish, so in my account preferences, my language is set to English. However the system emails to me come in Spanish, just now the notice of a new version:

I sort of expected discourse to know which language to use when emailing me (?) It’s not a huge issue, but a nice to have. Thanks


(Jeff Atwood) #2

User language preferences only affect client side UI. That email comes from the server side.


(Kane York) #3

We can make it affect the server side, though. Wrap the email in I18n.with_locale(user.effective_locale) do .