A modern multilingual language translator built using Flask, JavaScript, and SQLite.
The application allows users to translate text between multiple languages, automatically detect the input language, save translation history, restore previous translations, copy translated text, listen using text-to-speech, and manage translation history through a clean and intuitive interface.
- 🌍 Translate text between multiple languages
- 🤖 Automatic language detection
- 🔄 Swap source and target languages
- 📋 Copy translated text
- 🔊 Text-to-Speech support
- 🕒 Translation history
- ♻️ Restore previous translations
- 🗑️ Delete individual history items
- 🧹 Clear all translation history
- ⚡ Loading state while translating
- ⌨️ Ctrl + Enter keyboard shortcut
- 🔢 Live character counter
- 💾 SQLite database for persistent history
- 🎨 Clean and responsive user interface
- 🔔 Toast notifications
- Python
- Flask
- SQLite
- Deep Translator
- Langdetect
- REST APIs
- HTML5
- CSS3
- JavaScript
- Git
- GitHub
- PyCharm
TranslatorApp/
│
├── database/
│ ├── database.py
│ └── translations.db
│
├── services/
│ ├── translator.py
│ ├── language.py
│ └── speech.py
│
├── static/
│ ├── css/
│ │ └── style.css
│ │
│ └── js/
│ ├── script.js
│ ├── languages.js
│ └── toast.js
│
├── templates/
│ └── index.html
│
├── app.py
├── requirements.txt
└── README.md
git clone https://github.com/your-username/TranslatorApp.gitcd TranslatorApppython -m venv .venvWindows
.venv\Scripts\activatemacOS / Linux
source .venv/bin/activatepip install -r requirements.txtpython app.pyhttp://127.0.0.1:5000
- 🤗 Integrate Hugging Face translation models
- ⭐ Save favorite translations
- 🔍 Search translation history
- 📤 Export translation history as PDF or CSV
- 🌙 Light/Dark mode toggle
- 📱 Improve mobile responsiveness
- 🌐 Deploy the application online
Hiba Ismail
- 🎓 Bachelor of Computer Science
- 🤖 Aspiring AI / Machine Learning Engineer
- 📍 Karachi, Pakistan


