1) Can one send user e-mail in their language of choice?
For example, password reset request e-mail should go out in German if user has set German as their preferred language when viewing pages.
Instead of receiving e-mail in only English (default language), what I ended up sending in an test e-mail looked like this:
FROM: mysite
TO: someone@a.a
[lang=default]Someone requested that the password be reset for the following user account:
Username [username] on site "mysite"
If this was a mistake, just ignore this email and nothing will happen.[/lang]
[lang=es]Alguien pidió que la contraseña se restablecerá para la cuenta de usuario siguiente:
Usuario [username] en la página "mysite"
Si esto fue un error, simplemente ignore este mensaje y no pasará nada.[/lang]
[lang=de]Jemand beantragt, dass das Kennwort für das folgende Benutzerkonto zurückgesetzt werden:
Benutzername [username] Ort "mysite"
Wenn das ein Fehler war, ignorieren Sie einfach diese e-mail und nichts passieren wird.[/lang]
2) Why did username not get replaced with the actual username?
Thanks.
Offline
Any suggestions?
Offline
Is it the same issue you posted here : http://piwigo.org/forum/viewtopic.php?p … 01#p129401 ?
Offline
sorry, yes, it is the same topic. I was getting impatient.
As you can see above, the [lang=??] seemed not to work in the e-mail bodies, nor did the [username] tag. I do have the language extensions installed. My titles, footers and PWG stuffs blocks all behave correctly.
Offline
It's better to stop this topic and to continue on the first topic ;-)
Please see my post here : http://piwigo.org/forum/viewtopic.php?p … 52#p129452
Offline