A fast, AI-powered multilingual translation web application built with Django and Python. Supports 25+ languages including comprehensive African language support with Chichewa, Swahili, Yoruba, and more
# 🌍 AI Translator - Multilingual Translation Web Application
A fast, AI-powered multilingual translation web application built with Django and Python. Supports 25+ languages including comprehensive African language support with Chichewa, Swahili, Yoruba, and more.
## 🚀 Features
- **🌐 25+ Languages** - Comprehensive global language support
- **🇿🇦 15 African Languages** - Specialized support for African languages including Chichewa, Swahili, Yoruba, Igbo, Hausa, and more
- **🤖 AI-Powered Translation** - Uses state-of-the-art MarianMT models from HuggingFace
- **⚡ Fast Performance** - Optimized with caching and lazy loading
- **🎨 Modern UI** - Clean black and white responsive design
- **📱 Real-time Translation** - Instant results with loading indicators and error handling
- **🔧 RESTful API** - Fully functional API for integration
## 🛠️ Technology Stack
### Backend
- **Framework**: Django 4.2.7 + Django REST Framework
- **AI Models**: HuggingFace Transformers, PyTorch
- **Caching**: Django Cache Framework
- **Authentication**: Django CSRF Protection
### Frontend
- **UI Framework**: Bootstrap 5.3.0
- **Icons**: Font Awesome 6.0
- **JavaScript**: Vanilla ES6+
- **Styling**: Custom CSS with glassmorphism effects
### AI/ML
- **Translation Models**: Helsinki-NLP MarianMT models
- **Inference**: PyTorch with GPU support (if available)
- **Tokenization**: SentencePiece, Sacremoses
## 🌐 Supported Languages
### European Languages
- English (`en`), Spanish (`es`), French (`fr`), German (`de`)
- Italian (`it`), Portuguese (`pt`), Russian (`ru`)
### Asian Languages
- Chinese (`zh`), Japanese (`ja`), Korean (`ko`), Arabic (`ar`)
### African Languages
- **Swahili** (`sw`) - East Africa
- **Yoruba** (`yo`) - West Africa
- **Igbo** (`ig`) - Nigeria
- **Hausa** (`ha`) - West Africa
- **Amharic** (`am`) - Ethiopia
- **Somali** (`so`) - Horn of Africa
- **Zulu** (`zu`) - South Africa
- **Xhosa** (`xh`) - South Africa
- **Kinyarwanda** (`rw`) - Rwanda
- **Chichewa** (`ny`) …