Run the command.
- xgettext will parse a file and look for strings which are wrapped in
_()
. It will output those strings to a.po
file for translations (default filename =messages.po
).- What it looks for varies based on language - see 5.1.6.
- The
find
command will causexgettext
to parse all of the files whichfind
returns rather than just parsing a single file. --join-existing
will merge the results to an existingmessage.po
file in the same output directory.