Google Translate API for Python
This is a Python library that provides an interface to the Google Translate API.
Installation
You can install this library using pip:
pip3 install googletrans-python
Usage
import googletrans as gt
# Translate text from English to Korean
print(gt.translate("Hello, How are you?", "ko"))
# Translate text from English to Japanese
print(gt.translate("Hello, How are you?", "ja"))
# Translate text from English to French
print(gt.translate("Hello, How are you?", "fr"))
μλ
νμΈμ. μ΄λ»κ² μ§λ΄μΈμ?
γγγ«γ‘γ―ε
ζ°γ§γγοΌ
Bonjour comment allez-vous?
unofficial