Polyglot Translator is a web-based application that allows users to translate text between multiple languages in real-time.
Built with Flask and the GoogleTranslator API via deep_translator, this project demonstrates backend API integration, dynamic templates, and interactive web applications.
Translate text instantly between English, German, French, Spanish, Italian, and Hindi.
The app handles invalid input gracefully, ensuring source and target languages are different, and provides clear feedback to users.
- Translate text between multiple languages
- User-friendly interface with dropdowns for source and target languages
- Input validation and error handling
- Real-time translation using deep_translator (Google Translator API)
- Easy to extend with more languages
PolyglotTranslator/
│
├── app.py # Flask backend
├── requirements.txt # Python dependencies
├── README.md # Project documentation
│
├── templates/
│ └── index.html # Web UI
│
└── static/
└── style.css # Styling
git clone https://github.com/Bilal-73/MultiLang-Translator-using-DeepTranslator-Deep.git
cd REPO_NAME
pip install -r requirements.txt
python app.py
- Enter text in the input box
- Select source and target languages
- Click Translate → backend calls GoogleTranslator API
- Displays the translated text
- Handles empty input, same language selection, and API errors
- Add more languages
- Real-time translation without page reload (AJAX)
- Deploy on Railway, Render, or Heroku
- Save translation history for users
💼 AI / ML & Full-Stack Enthusiast 🔗 GitHub: https://github.com/Bilal-73
- ⭐ Show Your Support
- ⭐ Star the repository
- 🍴 Fork it
- 🧠 Suggest improvements