module documentation

Undocumented

Function blankout Change every non-whitespace character to the given char. Used in the templatize function.
Function templatize Turn a Django template into something that is understood by xgettext. It does so by translating the Django translation tags into standard gettext function invocations.
Constant TRANSLATOR_COMMENT_MARK Undocumented
Variable block_re Undocumented
Variable constant_re Undocumented
Variable context_re Undocumented
Variable dot_re Undocumented
Variable endblock_re Undocumented
Variable inline_re Undocumented
Variable plural_re Undocumented
def blankout(src, char): (source)

Change every non-whitespace character to the given char. Used in the templatize function.

def templatize(src, origin=None): (source)

Turn a Django template into something that is understood by xgettext. It does so by translating the Django translation tags into standard gettext function invocations.

TRANSLATOR_COMMENT_MARK: str = (source)

Undocumented

Value
'Translators'
block_re = (source)

Undocumented

constant_re = (source)

Undocumented

context_re = (source)

Undocumented

Undocumented

endblock_re = (source)

Undocumented

inline_re = (source)

Undocumented

plural_re = (source)

Undocumented