I am running into the same problem a few other people have, in that the site I have is in multiple languages, using a language switcher plugin.
I have multiple folders generating multiple variables I can use through my site, like user_language, language code, and language name etc.
All of these variables come in no problem, even for a guest, as the site is controlled by the domain and the index.php in the folder.
The problem is someone is in a German version of the site, they submit forgotten password, it comes back in english, which doesn’t suit them at all. So, it seems like I could do this in the messages temaplate:
{if '{language_code}' == 'en'}
{name},
To reset your password, please go to the following page:
{reset_url}
Your password will be automatically reset, and a new password will be emailed to you.
If you do not wish to reset your password, ignore this message. It will expire in 24 hours.
{site_name}
{site_url}
{if:else}
Other Language
{/if}But the email kicking back sends me the code rendered and everything in english. This was a feature request from a while ago in the forums, has it been addressed? I don’t want to go into hacking the core, but it has to work somehow.
The languages come in once someone is signed in, but they wont need the forgotten password messages (or indeed any registration messages etc) once this happens, leaving me with a chicken and egg setup.