What is the best way to translate a big amount of text data?

sashaeve picture sashaeve · Mar 15, 2010 · Viewed 19.1k times · Source

I have a lot of text data and want to translate it to different languages.

Possible ways I know:

  • Google Translate API
  • Bing Translate API

The problem is that all these services have limitations on text length, number of calls etc. which makes them inconveniente in use.

What services / ways you could advice to use in this case?

Answer

Athens Holloway picture Athens Holloway · Mar 15, 2010

I had to solve the same problem when integrating language translation with an xmpp chat server. I partitioned my payload (the text i needed to translate) into smaller subsets of complete sentences. I cant recall the exact number but with googles rest based translation url, i translated a set of completed sentences that collectivly had a total of less than (or equal to) 1024 characters, so a large paragraph would result in multiple translation service calls.