MSGINIT(1)
β¨ MSGINIT β¨
okay bestie, welcome to msginit, a lil tool from the User Commands corner of your manual, and honestly? it's giving catalog creator energy π
πΈ NAME πΈ
msginit β initialize a message catalog π
π¦ SYNOPSIS π¦
msginit [OPTION]
π DESCRIPTION π
It makes a brand-new PO file for you, and it fills in all that meta info by peeking at your environment. main character behavior fr fr β¨
Mandatory arguments to long options are mandatory for short options too. (yes queen, that goes for every single one of them, no exceptions, periodt.)
π Input file location
-i,--input=INPUTFILEβ the input POT file, that's the one you're feeding in π
ngl, if you don't hand it an input file, it goes snooping around the current directory looking for a POT file. and if it's -? then it just reads from standard input, easy peasy π«Ά
π§ Output file location
-o,--output-file=FILEβ write the output to this specific PO file, your choice, your rules π
so like, if you don't give an output file, it all depends on the --locale option or on whatever locale your environment is set to. and heads up: if that output file already exists, it gets merged with the input file, as if through 'msgmerge'. and if it's -? results go straight to standard output π«
π Input file syntax
-P,--properties-inputβ the input file is in Java.propertiessyntax β--stringtable-inputβ the input file is in NeXTstep/GNUstep.stringssyntax π
π Output details
-l,--locale=LL_CC[.ENCODING]β set the target locale π--no-translatorβ assume the PO file is automatically generated (no human translator, just vibes) π€--colorβ use colors and other text attributes always π--color=WHENβ use colors and other text attributes if WHEN. WHEN may be'always','never','auto', or'html'π¨--style=STYLEFILEβ specify a CSS style rule file for--colorπ-p,--properties-outputβ write out a Java.propertiesfile β--stringtable-outputβ write out a NeXTstep/GNUstep.stringsfile π-w,--width=NUMBERβ set the output page width π--no-wrapβ do not break long message lines, longer than the output page width, into several lines. keep them long, keep them iconic π«
β Informative output
-h,--helpβ display this help and exit π-V,--versionβ output version information and exit π·οΈ
π AUTHOR π
Written by Bruno Haible. π
π REPORTING BUGS π
found a bug? bestie, report it in the bug tracker at <https://savannah.gnu.org/projects/gettext> or by email to <bug-gettext@gnu.org>. they wanna hear from you fr fr π¬
π COPYRIGHT π
Copyright Β© 2001-2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. π«£
π₯ SEE ALSO π₯
The full documentation for msginit is maintained as a Texinfo manual. If the info and msginit programs are properly installed at your site, the command
info msginit
should give you access to the complete manual. iykyk πβ¨
okay that's the whole page bestie, no cap. this was GNU gettext-tools 1.0, from January 2026 β go forth and initialize those catalogs, you absolute icon πππ¦
π¦ where this page comes from
- alpine 3.24: gettext-doc 1.0-r0 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND MIT
- arch rolling: gettext 1.0-2 Β· GFDL-1.2-only AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only
- nixos 26.05: gettext 1.0
- nixpkgs unstable: gettext 1.0
- ubuntu stonking: gettext 1.0-3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms