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
Managor e364b551d6
gettext, msginit, msgmerge: add page; msgfmt, xgettext: edit page (#15912)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
2025-03-11 06:50:50 +02:00

326 B

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