Its a basic text translator written in python language using gui, where user can enter input of any language and get the desired output according to user's desire. The gui has been created using tkinter library of python and translation of the input is done by googletrans library of python. Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.
Install googletrans a new 'official' alpha version library using
pip install googletrans==3.1.0a0
- Enter any text that needs to be translated
- Choose any language that you want your text to be translated by clicking on Choose Language of your choice
- Once you click on the Choose Language of your choice button, a set of language option menu will display where you can choose your desire language in which you wish your text to be translated
- After choosing the language, click on TRANSLATE button to see the desired translated text in below display box
- Along with translation, it also detects the current text language which will get displayed as Detected Language Is: