Open KhachKara opened 7 years ago
pip install bing_translator
from bing_translator import Bing #importing Bing class for translations.
client_id = "" client_secret = ""
translator = Bing(client_id, client_secret) phrase_translated = translator.translate("Hello World", "pt") #translating phrase print (phrase_translated)
https://pypi.python.org/pypi/bing_translator https://pypi.python.org/pypi/BingTranslator/0.1 https://blogs.msdn.microsoft.com/translation/gettingstarted1/
pip install bing_translator
from bing_translator import Bing #importing Bing class for translations.
client_id = ""
client_secret = ""
translator = Bing(client_id, client_secret) phrase_translated = translator.translate("Hello World", "pt") #translating phrase print (phrase_translated)