(gettext.info.gz) msginit Invocation
Info Catalog
(gettext.info.gz) Creating
(gettext.info.gz) Creating
(gettext.info.gz) Header Entry
6.1 Invoking the `msginit' Program
==================================
msginit [OPTION]
The `msginit' program creates a new PO file, initializing the meta
information with values from the user's environment.
6.1.1 Input file location
-------------------------
`-i INPUTFILE'
`--input=INPUTFILE'
Input POT file.
If no INPUTFILE is given, the current directory is searched for the
POT file. If it is `-', standard input is read.
6.1.2 Output file location
--------------------------
`-o FILE'
`--output-file=FILE'
Write output to specified PO file.
If no output file is given, it depends on the `--locale' option or
the user's locale setting. If it is `-', the results are written to
standard output.
6.1.3 Input file syntax
-----------------------
`-P'
`--properties-input'
Assume the input file is a Java ResourceBundle in Java
`.properties' syntax, not in PO file syntax.
`--stringtable-input'
Assume the input file is a NeXTstep/GNUstep localized resource
file in `.strings' syntax, not in PO file syntax.
6.1.4 Output details
--------------------
`-l LL_CC'
`--locale=LL_CC'
Set target locale. LL should be a language code, and CC should be
a country code. The command `locale -a' can be used to output a
list of all installed locales. The default is the user's locale
setting.
`--no-translator'
Declares that the PO file will not have a human translator and is
instead automatically generated.
`-p'
`--properties-output'
Write out a Java ResourceBundle in Java `.properties' syntax. Note
that this file format doesn't support plural forms and silently
drops obsolete messages.
`--stringtable-output'
Write out a NeXTstep/GNUstep localized resource file in `.strings'
syntax. Note that this file format doesn't support plural forms.
`-w NUMBER'
`--width=NUMBER'
Set the output page width. Long strings in the output files will
be split across multiple lines in order to ensure that each line's
width (= number of screen columns) is less or equal to the given
NUMBER.
`--no-wrap'
Do not break long message lines. Message lines whose width
exceeds the output page width will not be split into several
lines. Only file reference lines which are wider than the output
page width will be split.
6.1.5 Informative output
------------------------
`-h'
`--help'
Display this help and exit.
`-V'
`--version'
Output version information and exit.
Info Catalog
(gettext.info.gz) Creating
(gettext.info.gz) Creating
(gettext.info.gz) Header Entry
automatically generated byinfo2html