LinguaSphere-App is a Python-based web application built with Streamlit, designed to assist language learners by providing seamless translation, text-to-speech, and language practice tools like generating flashcards. Leveraging APIs like Google Translate, Google Text-to-Speech (gTTS), and MyMemory, this app offers an interactive platform for users to translate text, hear pronunciations, and enhance their language skills effortlessly.
🔗 Project Demo: https://preveens-linguasphere-app.streamlit.app/
- Translate text across multiple languages using Google Translate and MyMemory APIs.
- Support for a wide range of languages with accurate translations.
- Convert translated text to speech using Google Text-to-Speech (gTTS).
- Listen to pronunciations to improve speaking and listening skills.
- Add new flashcards with words or phrases and their translations.
- View existing flashcards to review and practice.
- Remove flashcards when no longer needed.
- Clean and intuitive interface built with Streamlit.
- Easy input fields for text, language selection, and playback options.
- Streamlit’s responsive layout ensures usability on both desktop and mobile devices.
- Frontend: Streamlit
- Backend: Python
- APIs: Google Translate, Google Text-to-Speech (gTTS), MyMemory API
- Tools: Python, pip
LinguaSphere-App/
├── app.py # Main Streamlit app script for the UI and logic
├── requirements.txt # Dependencies for the project (Streamlit, APIs, etc.)
├── config.py # API keys and configuration settings
├── assets/
│ ├── logo.png # App logo or branding image
│ └── background.jpg # Background image for the app UI
└── utils/
├── translation.py # Functions for Google Translate and MyMemory API
└── text_to_speech.py # Functions for Google Text-to-Speech API
- Python 3.8+ installed
- pip package manager
-
Clone the repository
git clone https://github.com/Preveen369/LinguaSphere-App.git cd LinguaSphere-App -
Install dependencies
pip install -r requirements.txt
-
Configure API keys
- Add your API keys (if required) to
config.py. - Note: Google Translate and gTTS may not require API keys, but MyMemory API might need one for higher usage.
- Add your API keys (if required) to
-
Run the app
streamlit run app.py
🌐 Access your app live at: https://preveens-linguasphere-app.streamlit.app/
Pull requests are welcome! Feel free to fork the repository and suggest improvements.
Steps to contribute:
# 1. Fork the repository
# 2. Create a feature branch
git checkout -b feature-name
# 3. Commit your changes
git commit -m "Add feature description"
# 4. Push to GitHub
git push origin feature-name
# 5. Open a Pull RequestFor queries or suggestions:
- 📩 Email: spreveen123@gmail.com
- 🌐 LinkedIn: www.linkedin.com/in/preveen-s/
If you like this project, please consider giving it a ⭐ on GitHub!