Spaces:
Sleeping
Sleeping
|
Download README.md from kalyan9/Language-Translator: direct link, hf CLI and curl.
- Browser
- Download file 2.45 kB
-
https://huggingface.co/spaces/kalyan9/Language-Translator/resolve/main/README.md
- Command line
-
hf download hf://spaces/kalyan9/Language-Translator/README.md
-
curl -L -o README.md https://huggingface.co/spaces/kalyan9/Language-Translator/resolve/main/README.md
2.45 kB
metadata
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
- Clone the repository:
git clone https://github.com/KalyanKumarReddy9/multilingual-translator.git
cd multilingual-translator
- Install dependencies:
pip install -r requirements.txt
- Run the application:
python run_app.py
- Open your browser and navigate to:
http://localhost:7860
π Deployment
Deploy to Hugging Face Spaces
- Create a new Space on Hugging Face
- Upload all files from this repository
- The app will automatically deploy!
Deploy to Heroku
- Install Heroku CLI and login:
heroku login
heroku create your-app-name
git push heroku main
Deploy to Railway/Render
- Connect your GitHub repository
- Set start command:
gunicorn run_app:app - 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
- Select your target language from the dropdown
- Type or paste text in the "Original Text" box
- Click "Translate Now" button (or press Ctrl+Enter)
- 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
β Show your support
Give a βοΈ if you like this project!