Best way of using google translation by Python

后端 未结 6 1207
渐次进展
渐次进展 2021-02-05 03:32

I am trying to translate large number of text files from English to other several languages. And we use Python in our project, we try to use Google translation service to transl

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-05 04:02

    One of the simplest ways is to use Selenium for getting the translations of the words and phrases.

    Here is a piece of code that gets the word in English and returns the Persian (Farsi) translation. Everything is explained in the readme file on Github:

    https://github.com/mnosrati/Google-Translate-Farsi

提交回复
热议问题