@need_pot_file
    def update_po_file(self, locale):
        update_file = self.get_po_file(locale)

        cmd = ["msgmerge", "--sort-output", "--update", "--backup=off"]
        cmd.extend(["--directory", self.po_path])
        cmd.append(update_file)
        cmd.append(self.pot_file)

        ui.info(ui.green, "Updating", ui.reset, ui.bold,
                os.path.relpath(update_file, self.path))
        qisys.command.call(cmd, quiet=True)
Update PO file from POT
dataset/ETHPy150Open aldebaran/qibuild/python/qilinguist/qigettext.py/GettextProject.update_po_file