Thanks! I was just reading the package_release_contrib_d6_translation() function and starting to realize msgfmt is what I need.<br><br><div class="gmail_quote">On Wed, May 7, 2008 at 6:19 PM, Konstantin Käfer <<a href="mailto:kkaefer@gmail.com">kkaefer@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
you can also run the following command if you're on Linux/Mac OS X/<br>
Cygwin:<br>
<br>
for i in *.po; do echo -n "$i: " ; msgfmt --statistics $i ; done<br>
<br>
That will display any errors with files as well as statistics for all<br>
po files in the current directory.<br>
<font color="#888888"><br>
Konstantin<br>
</font><div><div></div><div class="Wj3C7c"><br>
On 07.05.2008, at 22:57, Jim Li wrote:<br>
<br>
> It has happened quite a few times to me that after committing new po<br>
> files, the next morning only to find it fails <a href="http://drupal.org" target="_blank">drupal.org</a> packaging<br>
> script. The error could simply be a typo in header, or mismatching<br>
> line breaks. PoEdit doesn't seem to be able to catch the latter. The<br>
> fact I had to file a support request to have release node removed<br>
> before I could cvs untag it, makes it more frustrating.<br>
><br>
> So I am wondering if the <a href="http://drupal.org" target="_blank">drupal.org</a> packaging script available for<br>
> download, or is there a similar checker script I can run before<br>
> committing to CVS?<br>
</div></div><div><div></div><div class="Wj3C7c">> _______________________________________________<br>
> translations mailing list<br>
> <a href="mailto:translations@drupal.org">translations@drupal.org</a><br>
> <a href="http://lists.drupal.org/mailman/listinfo/translations" target="_blank">http://lists.drupal.org/mailman/listinfo/translations</a><br>
<br>
_______________________________________________<br>
translations mailing list<br>
<a href="mailto:translations@drupal.org">translations@drupal.org</a><br>
<a href="http://lists.drupal.org/mailman/listinfo/translations" target="_blank">http://lists.drupal.org/mailman/listinfo/translations</a><br>
</div></div></blockquote></div><br>