Skip to content

Bilal-73/MultiLang-Translator-using-DeepTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Python Flask API Status License

🌐 Polyglot Translator – Flask Web App

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.


ℹ️ About

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.


🚀 Features

  • 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

📂 Project Structure

PolyglotTranslator/
│
├── app.py                  # Flask backend
├── requirements.txt        # Python dependencies
├── README.md               # Project documentation
│
├── templates/
│   └── index.html          # Web UI
│
└── static/
    └── style.css           # Styling

⚙️ Installation & Setup

git clone https://github.com/Bilal-73/MultiLang-Translator-using-DeepTranslator-Deep.git
cd REPO_NAME
pip install -r requirements.txt
python app.py

🧪 How It Works

  • 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

🔮 Future Improvements

  • Add more languages
  • Real-time translation without page reload (AJAX)
  • Deploy on Railway, Render, or Heroku
  • Save translation history for users

👤 Author

Bilal Imran

💼 AI / ML & Full-Stack Enthusiast 🔗 GitHub: https://github.com/Bilal-73

  • ⭐ Show Your Support
  • ⭐ Star the repository
  • 🍴 Fork it
  • 🧠 Suggest improvements

About

A Flask-based web app that translates text between multiple languages using GoogleTranslator API. Supports English, French, German, Spanish, Italian, and Hindi with real-time results.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages