From eb8962b458db4fd7010a3904efe28ec3487c1bd7 Mon Sep 17 00:00:00 2001 From: Lasse Mattila <114911323+wtflm@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:23:13 +0300 Subject: [PATCH] msgfmt, msgunfmt: add page (#13809) Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna --- pages/common/msgfmt.md | 8 ++++++++ pages/common/msgunfmt.md | 12 ++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pages/common/msgfmt.md create mode 100644 pages/common/msgunfmt.md diff --git a/pages/common/msgfmt.md b/pages/common/msgfmt.md new file mode 100644 index 0000000000..e3342cbdae --- /dev/null +++ b/pages/common/msgfmt.md @@ -0,0 +1,8 @@ +# msgfmt + +> Compile message catalog to binary format. +> More information: . + +- Convert a `.po` file to a `.mo` file: + +`msgfmt {{path/to/file.po}} -o {{path/to/file.mo}}` diff --git a/pages/common/msgunfmt.md b/pages/common/msgunfmt.md new file mode 100644 index 0000000000..d1ad984c73 --- /dev/null +++ b/pages/common/msgunfmt.md @@ -0,0 +1,12 @@ +# msgunfmt + +> Decompile message catalog from the binary format. +> More information: . + +- Output conversion: + +`msgunfmt {{path/to/file.mo}}` + +- Convert a `.mo` file to a `.po` file: + +`msgunfmt {{path/to/file.mo}} > {{path/to/file.po}}`