CodeAlpha AI Internship | Task 1
A clean, fast language translation web app built with Streamlit and deep-translator. Supports 100+ languages with auto-detection, character counting, and easy copy functionality.
- π Auto language detection β no need to manually specify source language
- π 100+ languages supported via Google Translate (free, no API key)
- π Copy-ready output β translated text shown in a selectable text area
- π’ Character counter β live count with 5000 char limit
- β‘ Instant UI β built with Streamlit for zero-config deployment
| Tool | Purpose |
|---|---|
Streamlit |
Web UI framework |
deep-translator |
Google Translate wrapper (free, no API key) |
Python 3.8+ |
Core language |
git clone https://github.com/YOUR_USERNAME/CodeAlpha_LanguageTranslationTool.git
cd CodeAlpha_LanguageTranslationToolpip install -r requirements.txtstreamlit run app.pyThe app will open at http://localhost:8501
CodeAlpha_LanguageTranslationTool/
βββ app.py # Main Streamlit application
βββ requirements.txt # Python dependencies
βββ README.md # This file
- Select source language (or leave as Auto Detect)
- Select target language
- Enter your text in the input box
- Click Translate β
- Copy the result from the output box
- Requires an active internet connection (uses Google Translate via deep-translator)
- Free to use, no API key required
- Handles up to 5000 characters per translation
Built as part of the CodeAlpha AI Internship program.
π Try it here