uploading translation resources

Chris Kelly ckdake at ckdake.com
Wed Dec 27 17:46:40 GMT 2006


On Dec 23, 2006, at 2:53 AM, Carlos Perelló Marín wrote:
>> I'm attempting to upload translation resources to  Gallery on
>> launchpad but it's not being cooperative. The error ID is
>> OOPS-356A774 and the file I'm attempting to upload is at http://
>> parity.menalto.com/~mindless/gallery2-po.tgz
>>
>> Perhaps this is because of the way the po files are zipped up?
>
> Hmm, I think the amount of .po files included in your tarball is so  
> high
> that takes too much time to do the upload in our system and that's why
> you get a timeout error.
>
> The faster solution for this is to split it into a couple of tarballs.
> Right now, we started Christmas holidays so nothing will change on
> production until January. I will think a bit more how to address this
> problem when we are back.
>
>> Also, Gallery 2 doesn't have pot files.  Because we use PHP, there is
>> a script we have that parses the PHP files into a strings.raw file
>> which is a list of just gettext/ngettext calls in C format that
>> gettext can process to generate the pos.  Is this going to be a
>> problem?  Do we need to be generating pot files?
>
> A pot file is just a po file without any translation. We would like to
> get a pot file as the way to get new messages into the system. As a
> workaround, we could accept a .po file as a .pot file, but would be
> better if you generate the .pot file, especially if you are using
> gettext directly.

I pulled together a little tool to generate pot files (I think  
they're the right format..) and zip it up so I've uploaded just the  
templates for now and it looks like they're awaiting approval.  The  
ability to upload one huge file of all of our translations would be  
great (theres a _lot_ of them already) so anything you can do on that  
front in January would be appreciated!

-Chris

--
Chris Kelly
ckdake at ckdake.com
http://ckdake.com/




More information about the launchpad-users mailing list