Forrest logo
back to context overview

xgettext

List of commands for xgettext:

  • xgettext:tldr:23aa1 xgettext: Use a different output filename.
    $ xgettext --output ${path-to-output_file} ${path-to-input_file}
    try on your machine
    explain this command
  • xgettext:tldr:2b138 xgettext: Append new strings to an existing file.
    $ xgettext --join-existing --output ${path-to-output_file} ${path-to-input_file}
    try on your machine
    explain this command
  • xgettext:tldr:2dc38 xgettext: Don't add a header containing metadata to the output file.
    $ xgettext --omit-header ${path-to-input_file}
    try on your machine
    explain this command
  • xgettext:tldr:ce93d xgettext: Scan file and output strings to `messages.po`.
    $ xgettext ${path-to-input_file}
    try on your machine
    explain this command
back to context overview