LinuxCommandLibrary

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.

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community