If you run the code locally (whithout GAE) and click on [admin]/
[Languages]/[update languages] the string "Lazy subjects" will be
added to the the language files.

The problem may be that you need:

subject=str(T('Lazy subjects'))

Massimo

On Jun 10, 3:27 pm, Carl <[email protected]> wrote:
> I am using web2py on GAE.
>
> I am sending emails using GAE. I'd delimited the subject line with T
> ( ... ) and, you guessed it, GAE didn't like it at all.
>
> How can I have the subject string translated *before* the call to
> GAE's platform?
>
> example code:
>
> bSuccess = mail.send(to=to,subject=T('Lazy subjects'),message=message)
>
> Carl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to