commands.sh

msgfmt

all

Compile message catalog to binary format.

More info →

Options (2)

-o, --output-fileboolean

Convert a `.po` file to a `.mo` file

Example: msgfmt {{path/to/file.po}} {{[-o|--output-file]}} {{path/to/file.mo}}
-h, --helpboolean

Display help

Example: msgfmt {{[-h|--help]}}

Examples (3)

Compile a file to `messages.mo`

msgfmt file.po

Convert a `.po` file to a `.mo` file

msgfmt path/to/file.po [-o|--output-file] path/to/file.mo

Display help

msgfmt [-h|--help]
made by @shridhargupta | data from tldr-pages