posplit.py for mechanizing ddtp translations
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
> 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
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...
Size: 198 bytes
Desc: This is a digitally signed message part
More information about the ubuntu-translators