Module googletrans 2.4.0 Question - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Module googletrans 2.4.0 Question (/thread-19194.html) |
Module googletrans 2.4.0 Question - hlhp - Jun-17-2019 How to use googletrans for translation. According to googletrans 2.4.0 I got error even with the official basic code. from googletrans import Translator translator = Translator() translator.translate('안녕하세요.') # <Translated src=ko dest=en text=Good evening. pronunciation=Good evening.> translator.translate('안녕하세요.', dest='ja') # <Translated src=ko dest=ja text=こんにちは。 pronunciation=Kon'nichiwa.> translator.translate('veritas lux mea', src='la') # <Translated src=la dest=en text=The truth is my light pronunciation=The truth is my light> In addition, if using Array call, will it consider one call or multiple calls? Ref LinkQuote:Advanced Usage (Bulk) |