A real-time web-based language translator built using Python, Flask, and Googletrans. This app takes user input text, detects the source and target languages, and returns the translated output on the same page — all with a clean UI and smooth interaction.
- 🔁 Translate text between 100+ languages
- 🌍 Uses Google Translate API (via
googletrans) - 🎨 Responsive UI with HTML, CSS, and JavaScript
- ⚡ Real-time translation without reloading the page
- 🧠 Automatically detects selected source and destination languages
- Python 3.9+
- Flask
- Googletrans (v4.0.0rc1)
- HTML5 & CSS3
- JavaScript (Fetch API)
- Jinja2 Template Engine
git clone https://github.com/MohitPal2005/LanguageTranslator.git
cd LanguageTranslator
2. Create Virtual Environment (Recommended)
bash
Copy
Edit
python -m venv venv
venv\Scripts\activate # On Windows
3. Install Requirements
bash
Copy
Edit
pip install -r requirements.txt
4. Run the Flask App
bash
Copy
Edit
python app.py