pyBegin / projects / text-translate
🌍

text-translate

80 lines🖥 Desktop only

Example

Enter the text to translate (or 'exit' to quit): Hello, how are you?
Available languages:
1) En
2) Es
3) Pt
4) Zh
5) Fr
...
Select a target language (1-20): 5
Translated text (fr): Bonjour comment allez-vous?
Enter the text to translate (or 'exit' to quit): exit
Exiting the translator.

Install these necessary libraries

pip install pygame pip install gTTS pip install tkinter pip install googletrans==4.0.0-rc1