#1 2012-04-13 02:46:33

JJF
Member
2011-10-06
121

[resolved] Make user e-mails work in several languages?

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

 

#2 2012-04-25 04:22:16

JJF
Member
2011-10-06
121

Re: [resolved] Make user e-mails work in several languages?

Any suggestions?

Offline

 

#3 2012-04-25 18:18:33

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [resolved] Make user e-mails work in several languages?

Is it the same issue you posted here : http://piwigo.org/forum/viewtopic.php?p … 01#p129401 ?

Offline

 

#4 2012-04-26 03:46:01

JJF
Member
2011-10-06
121

Re: [resolved] Make user e-mails work in several languages?

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

 

#5 2012-04-26 17:47:11

Eric
Former Piwigo Team
VALENCE (FR)
2005-03-25
1768

Re: [resolved] Make user e-mails work in several languages?

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact