14.7.6 Invoking the po-fetch Program

po-fetch [option...] TP domain
po-fetch [option...] Weblate base-url project component
po-fetch [option...] git base-url branch subdir

The po-fetch program fetches a set of PO files, produced by translators, from a translation project’s site on the internet, and updates the LINGUAS file accordingly.

The first argument indicates the kind of translation project:

TP

denotes the Translation Project (translationproject.org).

Weblate

denotes a Weblate instance.

git

denotes a web front-end to a git repository (such as a gitweb instance, a cgit instance, or a GitLab or GitHub or Forgejo instance).

14.7.6.1 Options

--git

Make changes in the git index, to prepare for a git commit.

14.7.6.2 Output files location

The PO files and the LINGUAS file are stored in the current directory.

14.7.6.3 Informative output

--help

Display this help and exit.

--version

Output version information and exit.