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


** Changed in: translate-toolkit (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1121264

Title:
  po2moz command does not work anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/translate-toolkit/+bug/1121264/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to