intltool-update command examples
intltool-update – updates PO template file and merge translations with it
Creates a new PO template from source code, and name it foo.pot:
intltool-update --pot --gettext-package=foo
Updates translation file xy.po using existing po template called “bar.pot”, and writes output into “xy1.po”:
intltool-update --dist --gettext-package=bar --output-file=xy1.po xy
Creates new PO template and updates translation file xy.po (xy.po is overwritten with new content):
intltool-update xy
(same as intltool-update –pot && intltool-update –dist xy)