[Po4a-devel] [po4a-Bugs][301268] Feature request : po4a-statistics

po4a-bugs at alioth.debian.org po4a-bugs at alioth.debian.org
Thu Jul 29 14:00:28 UTC 2010


Bugs item #301268, was changed at 2005-03-17 22:27 by Denis Barbier
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301268&group_id=30267

>Status: Closed
Priority: 3
Submitted By: Jean-Michel Pouré (jmpoure-guest)
Assigned to: Nobody (None)
Summary: Feature request : po4a-statistics 
Category: None
Group: None
>Resolution: Wont Fix


Initial Comment:
It would nice if a perl script could output statistics: translated (with %), untranslated (with %), fuzzy (with %).

The results should be available in several formats, including HTML.

----------------------------------------------------------------------

>Comment By: Denis Barbier (barbier-guest)
Date: 2010-07-29 16:00

Message:
Sorry, but that would open a can of worms, people will want to customize output.
To print statistics, you can run:
  for f in *.po; do printf "$f: "; msgfmt --statistics -o /dev/null $f; done

For HTML, see the gen_translations function in
  https://alioth.debian.org/scm/viewvc.php/po4a/html-build-upload.sh?view=markup&revision=1.28&root=po4a

----------------------------------------------------------------------

Comment By: Martin Quinson (mquinson)
Date: 2005-05-10 20:15

Message:
connecté 
user_id=10600

What kind of stats? 
The one of the po file? it's msgformat job, I think.
The one of the document? po4a-translate does so, with the -v flag.

Would you mind explaining a bit more?
Thanks, Mt.

----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301268&group_id=30267



More information about the Po4a-devel mailing list