LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

msgen

creates English translation PO files

TLDR

Create English translation file
$ msgen [input.pot] -o [en.po]
copy
Generate from PO file
$ msgen [source.po] -o [output.po]
copy
Force output
$ msgen --force-po [input.pot] -o [output.po]
copy
Specify language
$ msgen --lang=[en] [input.pot] -o [output.po]
copy

SYNOPSIS

msgen [options] [inputfile]

DESCRIPTION

msgen creates English translation PO files. It copies msgid to msgstr for same-language translations.The tool generates base English files. Part of GNU gettext for i18n workflows.

PARAMETERS

INPUTFILE

POT or PO file input.
-o FILE
Output file.
--force-po
Write PO even if empty.
--lang LANG
Set language code.
--help
Display help information.

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

CAVEATS

Part of gettext-tools. Only for English target. Use for en_* locales.

HISTORY

msgen is part of GNU gettext, created to simplify English locale file generation.

SEE ALSO

msgconv(1), msgfmt(1), msgmerge(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