mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
msgfmt, msgunfmt: add page (#13809)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
2a0b916d29
commit
eb8962b458
2 changed files with 20 additions and 0 deletions
8
pages/common/msgfmt.md
Normal file
8
pages/common/msgfmt.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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}}`
|
12
pages/common/msgunfmt.md
Normal file
12
pages/common/msgunfmt.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# msgunfmt
|
||||
|
||||
> Decompile message catalog from the binary format.
|
||||
> More information: <https://www.gnu.org/software/gettext/manual/html_node/msgunfmt-Invocation.html>.
|
||||
|
||||
- Output conversion:
|
||||
|
||||
`msgunfmt {{path/to/file.mo}}`
|
||||
|
||||
- Convert a `.mo` file to a `.po` file:
|
||||
|
||||
`msgunfmt {{path/to/file.mo}} > {{path/to/file.po}}`
|
Loading…
Add table
Reference in a new issue