xgettext
Extract gettext strings from code files. tldr-pages
On several platforms
Several platforms
Scan file and output strings to messages.po
xgettext path/to/input_fileIdentifyUse a different output filename
xgettext --output path/to/output_file path/to/input_fileIdentifyAppend new strings to an existing file
xgettext --join-existing --output path/to/output_file path/to/input_fileIdentifyDon't add a header containing metadata to the output file
xgettext --omit-header path/to/input_fileIdentifyDisplay help
xgettext --helpIdentify