Hi, all.

I use gettext for i18n support, and it works. But I also need i18n
support in template file, like this (_("Message") in code below):

----<----
$def with (name)

<html>
    <head><title>Test</title></head>
    <body>
        _("Message"): ${name}
    </body>
</html>
----<----

But webpy output '_("Message")' directly, how can i make it output the
translated string?

--~--~---------~--~----~------------~-------~--~----~
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