This is a simple GUI-based Python application for translating text between different languages using the Google Translate API.
The application allows users to enter text in one language and translate it to another language using the googletrans
library. The GUI is built with tkinter
.
- Python 3.x
tkinter
library (usually included with Python installations)googletrans
library
- Clone this repository to your local machine:
git clone https://github.com/yourusername/translator-app.git
- Navigate to the project directory:
cd translator-app
- Install the required Python modules:
pip install googletrans==4.0.0-rc1
- Run the script:
python Translate.py
-
Enter the text you want to translate in the "Text to Translate" field.
-
Select the source language from the "Source Language" dropdown menu.
-
Select the destination language from the "Destination Language" dropdown menu.
-
Click the "Translate" button to see the translated text in the "Translated Text" field.
$ python Translate.py