8.9 rstconv program

The rstconv program converts the resource string les generates by the compiler (when you use resource string sections) to .po les that can be understood by the GNU msgfmt program.

Its usage is very easy; it accepts the following options:

-i le
Use the specied le instead of stdin as input le. This option is optional.
-o le
write output to the specied le. This option is required.
-f format
Species the output format. At the moment, only one output format is supported: po for GNU gettext .po format. It is the default format.

As an example:

rstconv -i resdemo.rst -o resdemo.po

will convert the resdemo.rst le to resdemo.po.

More information on the rstconv utility can be found in the Programmers guide, under the chapter about resource strings.