The googletrans module in Python is unstable and closes connections for large texts (ie: above 1000 lines). I want to translate large amounts of texts stored in multiple files. The speed doesn't matter much for me. I already tried google-API-translate, it also can't manage bulk requests Can anyone suggest an alternative module?
if you write python script to translate each file one by one (or divide large file into smaller files). If you can't do it in one go, do it in multiple smaller, and the bulk request....... Just translate small file then close connection then open a new one, as you have said earlier, you don't mind the speed.....
Let's say you set a limit of 750 lines if the total lines of what you need to translate surpass this, you put the exceed in another file, then verify the same condition and so on until you got nothing but files with less or equal to 750 lines.
Then you write a script which automate all: the basic idea is that you open a connection, you translate the first file, then you save the translation, afterward you close the connection. you open a new connection with a new identity and repeat until everything is translate. you just have to write something to do this automatically, so you don't need another program nor api to manage bulk request
Since I havn't yet try the module nor the api, I apologize in advance if you think I make no sense, hope that it helps