--- title: Multilingual Translator emoji: "🌍" colorFrom: indigo colorTo: purple sdk: docker python_version: "3.10" app_file: run_app.py pinned: false --- # 🌍 Multilingual Translator A beautiful, modern web application for translating text between 19+ languages instantly using Google Translate API. ## ✨ Features ## 🚀 Supported Languages English, French, Spanish, German, Italian, Japanese, Hindi, Telugu, Bengali, Kannada, Tamil, Malayalam, Marathi, Arabic, Russian, Chinese (Simplified), Portuguese, Korean, Dutch ## 💻 Tech Stack - **Backend**: Flask (Python) - **Frontend**: HTML5, CSS3, JavaScript - **Translation API**: deep-translator (Google Translate) - **Production Server**: Gunicorn ## 📦 Installation 1. Clone the repository: ```bash git clone https://github.com/KalyanKumarReddy9/multilingual-translator.git cd multilingual-translator ``` 2. Install dependencies: ```bash pip install -r requirements.txt ``` 3. Run the application: ```bash python run_app.py ``` 4. Open your browser and navigate to: ``` http://localhost:7860 ``` ## 🌐 Deployment ### Deploy to Hugging Face Spaces 1. Create a new Space on [Hugging Face](https://huggingface.co/spaces) 2. Upload all files from this repository 3. The app will automatically deploy! ### Deploy to Heroku 1. Install Heroku CLI and login: ```bash heroku login heroku create your-app-name git push heroku main ``` ### Deploy to Railway/Render 1. Connect your GitHub repository 2. Set start command: `gunicorn run_app:app` 3. Deploy! ## 🔧 Configuration - **Port**: Default is 7860 (configurable via PORT environment variable) - **Host**: 0.0.0.0 (accessible from all network interfaces) - **Debug**: Disabled in production ## 📝 Usage 1. Select your target language from the dropdown 2. Type or paste text in the "Original Text" box 3. Click "Translate Now" button (or press Ctrl+Enter) 4. View the translation in the "Translation" box ## 🎨 UI Features - Gradient animated background - Glass morphism effect - Custom styled scrollbars - Hover animations and focus states - Loading spinner during translation - Responsive grid layout ## 🛡️ Security - No API keys required (uses free Google Translate) - No user data stored - Server-side error handling ## 👨‍💻 Author **Kalyan Kumar Reddy** - GitHub: [@KalyanKumarReddy9](https://github.com/KalyanKumarReddy9) ## ⭐ Show your support Give a ⭐️ if you like this project!