Skip to content Skip to sidebar Skip to footer

Pyramid Chameleon I18n Not Finding Template Files

I'm following this recipe, with a small test project called i18n Chameleon I18N I've set up the message_extractors as follows: message_extractors = { '.': [ ( '**.py', 'lingua

Solution 1:

That section of the cookbook is outdated: current versions of lingua no longer use Babel, or any configuration through setup.py/setup.cfg. You can use lingua's pot-create command to extract messages from your code and mpaltes instead. The lingua page on PyPI has a fair amount of documentation and examples for doing that.


Post a Comment for "Pyramid Chameleon I18n Not Finding Template Files"