On Nov 29, 11:19 pm, "Aaron Swartz" <[EMAIL PROTECTED]> wrote:
> $_('Message')

I added this line in my script, and use $_('Message') in template
file, it works:

web.template.Template.globals['_'] = gettext.gettext

Thanks Aaron. :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to