On Ma, 2007-01-08 at 14:43 +1030, Clytie Siddall wrote: > Hello everyone :)
... > > Before uploading the updated file, I wanted to check it. I ran: > ___ > Pearl:~/Vietnamese/Individual projects/OpenOffice/sdf files clytie$ > pofilter -t accelerators -t escapes -t variables -t xmltags -- > openoffice GSI_vi.sdf errors.txt > processing 1 files... > [###########################################] 100% > Pearl:~/Vietnamese/Individual projects/OpenOffice/sdf files clytie$ > pofilter -t accelerators -t escapes -t variables -t xmltags -- > openoffice GSI_vi.sdf > processing 1 files... > [###########################################] 100% > Pearl:~/Vietnamese/Individual projects/OpenOffice/sdf files clytie$ > perl expand-vi-characters.pl GSI_vi.sdf >GSI_vi_decomp.sdf > Pearl:~/Vietnamese/Individual projects/OpenOffice/sdf files clytie$ > pofilter -t spellcheck --language=vi GSI_vi_decomp.sdf errors.txt > processing 1 files... > [###########################################] 100% > Pearl:~/Vietnamese/Individual projects/OpenOffice/sdf files clytie$ > ___ > > Am I doing something wrong here? How do I get pofilter output on > OpenOffice.org files? > > Thankyou for your help with this. :) Hi Clytie. For reference, the documentation is here: http://translate.sourceforge.net/wiki/toolkit/pofilter Pofilter currently operates on PO files (with support for XLIFF files already in SVN trunk). You therefore need to convert your SDF file to a directory of PO files first and then run pofilter on the resulting PO files. The output will be a directory of PO files in the same structure, but only with the files containing problems (and only those units with the problems). You can correct these problems (or remove the units/files if they never were wrong) and then merge them back with pomerge. There is a bug here, namely that pofilter didn't complain about being run on an SDF file. I can only duplicate it on the 0.10 branch, not on SVN trunk, so I'll try to still look at it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
