📜 ⬆️ ⬇️

Class for translating text using the Google Translate service

Recently, the task was to programmatically translate text on the fly. There was no time to search for a ready-made solution. Then on the spot struck news that the Google Translate API will soon stop its work ( pruflink ).
As a result, I had to quickly write a class that uses directly where it goes for the translation itself http://translate.google.com .
It turned out quite versatile and extensible. The project can be downloaded from GitHub .

')

Source: https://habr.com/ru/post/120174/


All Articles