moz2po and po2moz require the correct filenames to operate. In particular, the filename must include an indication of the origin of the data (so, foo.dtd.po not foo.po). From the documentation:
«The file extension of the original Mozilla file is required to tell the Toolkit how to do the conversion. Therefore, a file like foo.dtd must be named foo.dtd.po in order to po2moz to recognise it as a DTD file.»
moz2po and po2moz require the correct filenames to operate. In particular, the filename must include an indication of the origin of the data (so, foo.dtd.po not foo.po). From the documentation:
«The file extension of the original Mozilla file is required to tell the Toolkit how to do the conversion. Therefore, a file like foo.dtd must be named foo.dtd.po in order to po2moz to recognise it as a DTD file.»
The following seems to work just fine:
$ moz2po pencil.dtd pencil.dtd.po
$ sid po2moz -t pencil.dtd pencil.dtd.po backpencil.XX.dtd