1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 13:23:53 +02:00
tldr/pages/common/msgfmt.md

17 lines
367 B
Markdown
Raw Normal View History

# msgfmt
> Compile message catalog to binary format.
> More information: <https://www.gnu.org/software/gettext/manual/gettext.html#msgfmt-Invocation>.
- 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}}`
2025-03-26 00:36:41 +02:00
- Display help:
`msgfmt {{[-h|--help]}}`