LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.
--no-wrap
Do not break long message lines.
--sort-output
Generate sorted output.
-v, --verbose
Increase verbosity level.

INSTALL

sudo apt install gettext
copy
sudo dnf install gettext
copy
sudo pacman -S gettext
copy
sudo apk add gettext
copy
brew install gettext
copy
nix profile install nixpkgs#gettext
copy

SEE ALSO

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid