module documentation

gettext message extraction via Babel: http://babel.edgewall.org/
Class ​Babel​Mako​Extractor Undocumented
Function extract Extract messages from Mako templates.
def extract(fileobj, keywords, comment_tags, options):
Extract messages from Mako templates.
Parameters
fileobjthe file-like object the messages should be extracted from
keywordsa list of keywords (i.e. function names) that should be recognized as translation functions
comment​_tagsa list of translator tags to search for and include in the results
optionsa dictionary of additional options (optional)
Returns
iteratoran iterator over (lineno, funcname, message, comments) tuples