On 08.02.2009 3:46 Uhr, Taito Horiuchi wrote:
Hi,

I would like to send e-mails from Plone using zpt in different languages,
 like for users with different preferred languages, at once.

Was has sending emails to do with ZPT?

I believe he uses page templates to render the mail body. If so then you should be able to set a variable on the request which indicates the language you want to use. I cannot recall the name of this variable.

Then you do mail_text = context.mail_template(REQUEST=REQUEST) and you get the translated content.

Hedley

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to