[translations] Packaging or po checker script?

Jim Li jimmydami at gmail.com
Wed May 7 22:33:31 UTC 2008


Thanks! I was just reading the package_release_contrib_d6_translation()
function and starting to realize msgfmt is what I need.

On Wed, May 7, 2008 at 6:19 PM, Konstantin Käfer <kkaefer at gmail.com> wrote:

> Hi,
>
> you can also run the following command if you're on Linux/Mac OS X/
> Cygwin:
>
> for i in *.po; do echo -n "$i: " ; msgfmt --statistics $i ; done
>
> That will display any errors with files as well as statistics for all
> po files in the current directory.
>
> Konstantin
>
> On 07.05.2008, at 22:57, Jim Li wrote:
>
> > It has happened quite a few times to me that after committing new po
> > files, the next morning only to find it fails drupal.org packaging
> > script. The error could simply be a typo in header, or mismatching
> > line breaks. PoEdit doesn't seem to be able to catch the latter. The
> > fact I had to file a support request to have  release node removed
> > before I could cvs untag it, makes it more frustrating.
> >
> > So I am wondering if the drupal.org packaging script available for
> > download, or is there a similar checker script I can run before
> > committing to CVS?
> > _______________________________________________
> > translations mailing list
> > translations at drupal.org
> > http://lists.drupal.org/mailman/listinfo/translations
>
> _______________________________________________
> translations mailing list
> translations at drupal.org
> http://lists.drupal.org/mailman/listinfo/translations
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/translations/attachments/20080507/58de8b99/attachment.htm 


More information about the translations mailing list