def release(self, raises=True):
        mo_output_dir = os.path.join(self.path, "po",
                                     "share", "locale", self.name)
        qisys.sh.mkdir(mo_output_dir, recursive=True)
        all_ok = True
        for locale in self.linguas:
            ok, message = self.generate_mo_file(locale)
            if not ok:
                ui.error(message)
            all_ok = all_ok and ok
        if not all_ok and raises:
            raise qisys.error.Error("`qilinguist release` failed")
        return all_ok
Compile every catalog.
dataset/ETHPy150Open aldebaran/qibuild/python/qilinguist/qigettext.py/GettextProject.release