info > msgen

📖 NAME

msgen — create an English translation catalog

🚀 Quick Reference

Use CaseCommandDescription
📝 Create English catalog from PO filemsgen input.po -o output.poCreates English translation catalog from input PO file
đŸ“Ĩ Read from stdin, write to stdoutmsgen -Read standard input, output to standard output
🌐 Use Java properties inputmsgen -P input.properties -o output.poAssume input is Java ResourceBundle .properties syntax
🍏 Use NeXTstep strings inputmsgen --stringtable-input input.strings -o output.poAssume input is NeXTstep/GNUstep .strings syntax
🌍 Set language in headermsgen input.po --lang=fr -o output.poSpecify Language field in header entry
🎨 Output with colormsgen input.po --color -o output.poUse colors and other text attributes in output
📂 Sort output by file locationmsgen input.po -F -o output.poSort output by file location

âš™ī¸ 9.9 Invoking the 'msgen' Program

msgen [OPTION] INPUTFILE

The msgen program creates an English translation catalog. The input file is the last created English PO file, or a PO Template file (generally created by xgettext). Untranslated entries are assigned a translation that is identical to the msgid.

💡 Note: msginit --no-translator --locale=en performs a very similar task. The main difference is that msginit cares specially about the header entry, whereas msgen doesn't.

📁 Input file location

If INPUTFILE is '-', standard input is read.

📂 Output file location

The results are written to standard output if no output file is specified or if it is '-'.

📄 Input file syntax

âš™ī¸ Output details

â„šī¸ Informative output

msgen
📖 NAME 🚀 Quick Reference âš™ī¸ 9.9 Invoking the 'msgen' Program
📁 Input file location 📂 Output file location 📄 Input file syntax âš™ī¸ Output details â„šī¸ Informative output

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-31 08:48 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^