Hi,
i developing a pyramid application with i18n support. I've setup pyramid
to use lingua and as far as I user i18n tag in chameleon templates
pot-create extracting them correctly.
But translation strings from python code is not extracted.
I am following the documentation at
Hi,
Did you tried using the TranslationStringFactory instead?
from pyramid.i18n import TranslationStringFactory_ =
TranslationStringFactory('eventbroker')
...
error_notaicalfile = _(The given Address didn't return...)
request.localizer.translate(error_notaicalfile)
I use this method with