FreddieDeWitt / google-translate-extended-api

Free Google Translate API - get word definitions, examples, synonyms and a lot more
MIT License
51 stars 14 forks source link

Can I use this package "extended-google-translate-api" so as to translate free and unlimited pages with google translate? #9

Open ioanf2 opened 3 years ago

ioanf2 commented 3 years ago

hello. Can I use this package "extended-google-translate-api" so as to translate free and unlimited pages with google translate?

The question is, how good and accurate is the translation?

FreddieDeWitt commented 3 years ago

Yes, you can. As the module uses google translate data, the translations are as good (or as bad) as through google translate.

However, there will be problems when translating big chunks - unfortunately, such unofficial API only supports text until 5000 symbols (give or take) and your pages are probably bigger than that, so you would have to split you pages into chunks and translate them one by one (please note that you should also split by sentences, otherwise it won't work well).

Please take a look at this issue for this translation module, it contains more information and some examples on how to implement what you need.

Please do ask if you have other questions.