Hello,
I use TG 1.0 with genshi and tg.widgets.
I'm trying to use explicit call to gettext function in my template but
it doesn't work:
File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux-
x86_64.egg/genshi/template/eval.py", line 405, in undefined
raise UndefinedError(key, owner=owner)
UndefinedError: "_" not defined
I use this patch:
http://trac.turbogears.org/ticket/1461
So when I don't use _('text') in my template everything is fine, and
my text is translated.
Please could you help me to use explicit call to _() in my genshi
templates ?
Regards,
Julien
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---