Next: Invoking the msggrep
Program, Previous: Invoking the msgcat
Program, Up: Manipulating PO Files [Contents][Index]
msgconv
Programmsgconv [option] [inputfile]
The msgconv
program converts a translation catalog to a different
character encoding.
Input PO file.
Add directory to the list of directories. Source files are searched relative to this list of directories. The resulting .po file will be written relative to the current directory, though.
If no inputfile is given or if it is ‘-’, standard input is read.
Write output to specified file.
The results are written to standard output if no output file is specified or if it is ‘-’.
Specify encoding for output.
The default encoding is the current locale’s encoding.
Specify whether or when to use colors and other text attributes.
See The --color
option for details.
Specify the CSS style rule file to use for --color
.
See The --style
option for details.
Always write an output file even if it contains no message.
Write the .po file using indented style.
Do not write ‘#: filename:line’ lines.
Generate ‘#: filename:line’ lines (default).
The optional type can be either ‘full’, ‘file’, or
‘never’. If it is not given or ‘full’, it generates the
lines with both file name and line number. If it is ‘file’, the
line number part is omitted. If it is ‘never’, it completely
suppresses the lines (same as --no-location
).
Write out a strict Uniforum conforming PO file. Note that this Uniforum format should be avoided because it doesn’t support the GNU extensions.
Write out a Java ResourceBundle in Java .properties
syntax. Note
that this file format doesn’t support plural forms and silently drops
obsolete messages.
Write out a NeXTstep/GNUstep localized resource file in .strings
syntax.
Note that this file format doesn’t support plural forms.
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.
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.
Generate sorted output. Note that using this option makes it much harder for the translator to understand each message’s context.
Sort output by file location.
Next: Invoking the msggrep
Program, Previous: Invoking the msgcat
Program, Up: Manipulating PO Files [Contents][Index]