posplit.py for mechanizing ddtp translations

Redmar redmar at ubuntu-nl.org
Sun Dec 23 23:12:11 UTC 2012

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

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.


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/2c87958a/attachment.sig>

More information about the ubuntu-translators mailing list