manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: po-fetch Invocation,  Prev: autopoint Invocation,  Up: Version Control Issues

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.

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.