Possible Duplicate:
What is the best way to translate a big amount of text data?
I have around 50,000 small sentences I would like to have translated using Microsoft Translate API.
I tried their API, but it can only handle a certain amount of characters at a time, meaning I'd have to manually do copy/paste it again and again.
Is there a script or some other way which automatically partitions the document and then runs the translator on each partition, before collecting it all in one file/page?
I have set php as a tag, but I am not sure if there are better alternatives?