posplit.py for mechanizing ddtp translations

Redmar redmar at ubuntu-nl.org
Mon Dec 24 07:35:02 UTC 2012

Redmar schreef op ma 24-12-2012 om 00:12 [+0100]:
> Hi all,
> I've created a python script to split up .po files into chunks of a
> certain size. 
> You can get the code by running 
> bzr branch lp:~redmar/+junk/posplit 
> in a terminal. The scripts requires a po file as argument, and
> optionally a target file size in KiB. The default target file size is
> 600, since my estimation of how big the output file will be is very
> crude. 
> If this causes troubles or a lot of extra work, I will see if I can
> improve the estimation. Please let me know what you think of the script.
> Regards,
> Redmar
> --
> Ubuntu Dutch Translators

You can also download the script directly from
http://people.ubuntu.com/~redmar/posplit.py I've also changed the
default filesize to 800 KiB, since I mistook the actual maximum file
size (which is 900 instead of 800).


Ubuntu Dutch Translators
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-translators/attachments/20121224/decad8e6/attachment.pgp>

More information about the ubuntu-translators mailing list