cdh.core.management.commands.makemessages module

class cdh.core.management.commands.makemessages.BuildFile(command, domain, translatable)[source]

Bases: BuildFile

preprocess()[source]

Preprocess (if necessary) a translatable file before passing it to xgettext GNU gettext utility.

class cdh.core.management.commands.makemessages.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: Command

build_file_class

alias of BuildFile

cdh.core.management.commands.makemessages.templatize(src, **kwargs)[source]

This function overrides part of the original templetize function used by BuildFile below, by sligtly modifying the inline_re variable to include the transformat tag. :param src: :param kwargs: :return: