---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# msgfmt

> Compile message catalog to binary format.
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgfmt-Invocation.html>.

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

`msgfmt {{path/to/file.po}} -o {{path/to/file.mo}}`
