LinuxCommandLibrary

msgunfmt

converts compiled gettext MO files back to human-readable PO format

TLDR

Convert MO to PO

$ msgunfmt [messages.mo] -o [messages.po]
copy
Convert Java properties
$ msgunfmt --java -d [classes/] -l [locale] -o [output.po]
copy
Specify output encoding
$ msgunfmt --output-encoding=[UTF-8] [messages.mo] -o [messages.po]
copy

SYNOPSIS

msgunfmt [options] inputfile

DESCRIPTION

msgunfmt converts compiled gettext MO (machine object) files back to human-readable PO (portable object) format. Also extracts translations from Java ResourceBundle classes. Part of GNU gettext.

PARAMETERS

-o file

Output file.
--java
Java ResourceBundle mode.
-d dir
Class directory for Java.
-l locale
Locale for Java mode.
--output-encoding enc
Output character encoding.

SEE ALSO

msgfmt(1), msgcat(1), msgattrib(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community