New issue 31 by msmakela: The gettext-dist ant task should pass extra
arguments to msgfmt
http://code.google.com/p/gettext-commons/issues/detail?id=31
What steps will reproduce the problem?
1. Run an ant target that contains this task:
<gettext-dist targetBundle="FOO" poDirectory="po" outputDirectory="build"/>
What is the expected output? What do you see instead?
I would like to have msgfmt invoked with the argument --verbose. I see no
way to specify this argument, or any custom arguments, for that matter.
What version of the product are you using? On what operating system?
gettext-ant-tasks-0.9.6 on Debian GNU/Linux 5.0 (Lenny)
Please provide any additional information below.
msgfmt --verbose would be useful for getting statistics. The percentage
threshold is not enough for all projects.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
msgfmt --verbose --statistics returns exactly the same information as does
msgfmt
--statistics on the po files I tried.
How would you need this information and how would you make use of from
inside the ant
script?
If it's just about getting more verbose output when specifying ant -v, it
could be
possible to add the output of msgfmt --statistics to verbose output of ant.
But if it's not part of the build process, it might be just easier looking
at the
information using a few lines of bash:
for i in po/*.po; do echo -n "`basename $i`: "; msgfmt --statistics $i; done
Comment #2 on issue 31 by bergerfx: The gettext-dist ant task should pass
extra arguments to msgfmt
http://code.google.com/p/gettext-commons/issues/detail?id=31
Feel free to reopen, if this is still relevant.