Hi there,
got a problem with the i18n-extension. I can't use the "trans" -tag,
without getting the exception "UndefinedError: 'gettext' is
undefined".
I used this tag for testing, first i tried the "newstyle gettext"
discribted in the jinja2 documentation, but i didn't worket. I also
cant acces the gettext-function directly within an template (same
error as above), but underscore-alias worked. But i like to use a bi
more modern syntax than {{ gettext('Hello %(name)s!')|
format(name='World') }}.
I am not sure where the problem is, either in pylons or jinja ore
elsewere. I am using the newest version of all packages via python
soapshop.
Thanks, and please excuse my english, I'm no native speaker.
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" 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/pocoo-libs?hl=en.