'Remove pre-existing compiled language files, and re-compile.'

def compile_messages(self):

    mo_path = os.path.join(self.locale_path, self.locale, 'LC_MESSAGES', 'django.mo')
    try:
        os.remove(mo_path)
    except OSError:
        pass
    message_compiler = MessageCompiler(self)
    message_compiler.execute()
