Welcome to LinguaLens AI Translator, a powerful and user-friendly web application that breaks language barriers by translating your files (TXT, PDF, XLSX, CSV) into multiple languages effortlessly! Powered by advanced AI, this app is designed to make translation accessible to everyone, with a sleek interface that adapts to light and dark themes.
- Multi-Language Support: Translate into 10+ languages including English, Spanish, French, German, and more!
- File Format Flexibility: Supports TXT, PDF, XLSX, and CSV files.
- Theme Adaptability: Seamlessly switches between light and dark modes for a personalized experience.
- User-Friendly: Intuitive interface with a "Toggle Theme" feature and clear feedback.
- Restrictions: Handles files up to 1MB and text content up to 5,000 characters per request for optimal performance.
- Python 3.13
- Pip (Python package manager)
git clone https://github.com/034adarsh/LinguaLens-AI.git
cd LinguaLens-Backend
Create a virtual environment and activate it:
python3.13 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install the required dependencies:
pip install -r requirements.txt
Run the app locally:
streamlit run app.py
Open your browser and visit http://localhost:8501
to use the app.
The app is deployed on Streamlit Cloud:
🔗 https://lingualens-ai.streamlit.app/
To redeploy or modify:
- Push changes to the GitHub repository.
- The Streamlit Cloud app will automatically rebuild.
- Upload a file (TXT, PDF, XLSX, or CSV) under 1MB.
- Select your target language from the dropdown.
- Click "Translate Now!" to process the file.
- Download the translated file or the original (if translation fails, a warning is shown).
- File Size: Maximum 1MB per file.
- Text Limit: Up to 5,000 characters per translation request.
- PDF Support: Scanned PDFs may not translate due to unextractable text.
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the app.
Have questions or feedback? Reach out to me:
- 📧 Email: [email protected]
- 💼 LinkedIn: Adarsh Kumar Singh
Built by: Adarsh Singh
Built with ❤️ using Streamlit, deep-translator, and assisted by xAI’s Grok-3.
Special thanks to the open-source community for the tools that power this project.