Issue 31 in gettext-commons: The gettext-dist ant task should pass extra arguments to msgfmt

7 views
Skip to first unread message

codesite...@google.com

unread,
Mar 7, 2009, 3:38:17 PM3/7/09
to gettext-co...@googlegroups.com
Status: New
Owner: ----

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

codesite...@google.com

unread,
Dec 20, 2009, 7:21:00 PM12/20/09
to gettext-co...@googlegroups.com

Comment #1 on issue 31 by bergerfx: The gettext-dist ant task should pass

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

codesite...@google.com

unread,
Mar 20, 2010, 7:06:25 PM3/20/10
to gettext-co...@googlegroups.com
Updates:
Status: WontFix

Comment #2 on issue 31 by bergerfx: The gettext-dist ant task should pass

Feel free to reopen, if this is still relevant.

Reply all
Reply to author
Forward
0 new messages