1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/msgfmt.md
2025-03-26 00:36:41 +02:00

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]}}`