{
    "content": [
        {
            "type": "text",
            "text": "# msginit (info)\n\n## Sections\n\n- **File: gettext.info,  Node: msginit Invocation,  Next: Header Entry,  Up: Creating** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "msginit",
        "section": "",
        "mode": "info",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "File: gettext.info,  Node: msginit Invocation,  Next: Header Entry,  Up: Creating",
                "lines": 1,
                "subsections": [
                    {
                        "name": "6.1 Invoking the 'msginit' Program",
                        "lines": 121
                    }
                ]
            }
        ],
        "sections": {
            "File: gettext.info,  Node: msginit Invocation,  Next: Header Entry,  Up: Creating": {
                "content": "",
                "subsections": [
                    {
                        "name": "6.1 Invoking the 'msginit' Program",
                        "content": "msginit [OPTION]\n\nThe 'msginit' program creates a new PO file, initializing the meta\ninformation with values from the user's environment.\n\nHere are more details.  The following header fields of a PO file are\nautomatically filled, when possible.\n\n'Project-Id-Version'\nThe value is guessed from the 'configure' script or any other files\nin the current directory.\n\n'PO-Revision-Date'\nThe value is taken from the 'PO-Creation-Data' in the input POT\nfile, or the current date is used.\n\n'Last-Translator'\nThe value is taken from user's password file entry and the mailer\nconfiguration files.\n\n'Language-Team, Language'\nThese values are set according to the current locale and the\npredefined list of translation teams.\n\n'MIME-Version, Content-Type, Content-Transfer-Encoding'\nThese values are set according to the content of the POT file and\nthe current locale.  If the POT file contains charset=UTF-8, it\nmeans that the POT file contains non-ASCII characters, and we keep\nthe UTF-8 encoding.  Otherwise, when the POT file is plain ASCII,\nwe use the locale's encoding.\n\n'Plural-Forms'\nThe value is first looked up from the embedded table.\n\nAs an experimental feature, you can instruct 'msginit' to use the\ninformation from Unicode CLDR, by setting the 'GETTEXTCLDRDIR'\nenvironment variable.  The program will look for a file named\n'common/supplemental/plurals.xml' under that directory.  You can\nget the CLDR data from <http://cldr.unicode.org/>.\n\n\n'-i INPUTFILE'\n'--input=INPUTFILE'\nInput POT file.\n\nIf no INPUTFILE is given, the current directory is searched for the\nPOT file.  If it is '-', standard input is read.\n\n\n'-o FILE'\n'--output-file=FILE'\nWrite output to specified PO file.\n\nIf no output file is given, it depends on the '--locale' option or\nthe user's locale setting.  If it is '-', the results are written to\nstandard output.\n\n\n'-P'\n'--properties-input'\nAssume the input file is a Java ResourceBundle in Java\n'.properties' syntax, not in PO file syntax.\n\n'--stringtable-input'\nAssume the input file is a NeXTstep/GNUstep localized resource file\nin '.strings' syntax, not in PO file syntax.\n\n\n'-l LLCC[.ENCODING]'\n'--locale=LLCC[.ENCODING]'\nSet target locale.  LL should be a language code, and CC should be\na country code.  The optional part .ENCODING specifies the encoding\nof the locale; most often this part is '.UTF-8'.  The command\n'locale -a' can be used to output a list of all installed locales.\nThe default is the user's locale setting.\n\n'--no-translator'\nDeclares that the PO file will not have a human translator and is\ninstead automatically generated.\n\n'--color'\n'--color=WHEN'\nSpecify whether or when to use colors and other text attributes.\nSee *note The --color option:: for details.\n\n'--style=STYLEFILE'\nSpecify the CSS style rule file to use for '--color'.  See *note\nThe --style option:: for details.\n\n'-p'\n'--properties-output'\nWrite out a Java ResourceBundle in Java '.properties' syntax.  Note\nthat this file format doesn't support plural forms and silently\ndrops obsolete messages.\n\n'--stringtable-output'\nWrite out a NeXTstep/GNUstep localized resource file in '.strings'\nsyntax.  Note that this file format doesn't support plural forms.\n\n'-w NUMBER'\n'--width=NUMBER'\nSet the output page width.  Long strings in the output files will\nbe split across multiple lines in order to ensure that each line's\nwidth (= number of screen columns) is less or equal to the given\nNUMBER.\n\n'--no-wrap'\nDo not break long message lines.  Message lines whose width exceeds\nthe output page width will not be split into several lines.  Only\nfile reference lines which are wider than the output page width\nwill be split.\n\n\n'-h'\n'--help'\nDisplay this help and exit.\n\n'-V'\n'--version'\nOutput version information and exit.\n"
                    }
                ]
            }
        }
    }
}