Translate huge amount of text
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2448097/what-is-the-best-way-to-translate-a-big-amount-of-text-data">What is the best way to translate a big amount of text data?</a>  </p>
</blockquote>



<p>I have around 50,000 small sentences I would like to have translated using Microsoft Translate API.</p>

<p>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.</p>

<p>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?</p>

<p>I have set php as a tag, but I am not sure if there are better alternatives?</p>
