The tools follow a general usage convention which is helpful to understand.
The last two arguments of your command are the input and output files/directories:
moz2po <input> <output>
You can of course still use the
-o options which allows
you to reorder commands
moz2po -o <output> -i <input>
All tools accept the option
--errorlevel. If you find a bug, add this
option and send the traceback to the developers.
moz2po <other-options> --errorlevel=traceback
If you are working with any file format and you wish to preserve comments and layout then use your source file as a template.
po2dtd -t <source-file> <input> <output>
This will use the files in
<source-file> as a template, merge the PO files
<input>, and create new DTD files in
If you ran this without the templates you would get valid DTD files but they would not preserve the layout or all the comments from the source DTD file
The same concept of templates is also used when you merge files.
pomerge -t <old> <fixes> <new>
This would take the
<old> files merge in the
<fixes> and output new PO
files, preserving formatting, into
<new>. You can use the same directory
<new> if you want the merges to overwrite files in
The converters all follow this convention:
--help option will always list the available commands for the tool.