mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
16 lines
369 B
Markdown
16 lines
369 B
Markdown
# msgfmt
|
|
|
|
> Compile message catalog to binary format.
|
|
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html>.
|
|
|
|
- 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]}}`
|