'Generate the .po files for the site.'

def make_messages(self):

    if (self.locale is None):
        logger.error('You    should    set    a    locale    in    your    configuration    file    before    running    this    command.')
        return
    message_maker = MessageMaker(self)
    message_maker.execute()
