Skip to content

About

LinguaSphere App is a Streamlit-based Python web app that helps users learn languages through translation, text-to-speech, and flashcard generation using APIs like Google Translate, gTTS, and MyMemory.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

🌍 LinguaSphere-App – Your Language Learning Companion

Platform Tech Language APIs License

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/


🚀 Features

🌍 Text Translation

  • Translate text across multiple languages using Google Translate and MyMemory APIs.
  • Support for a wide range of languages with accurate translations.

🔊 Text-to-Speech

  • Convert translated text to speech using Google Text-to-Speech (gTTS).
  • Listen to pronunciations to improve speaking and listening skills.

🗂️ Flashcards for Language Practice

  • Add new flashcards with words or phrases and their translations.
  • View existing flashcards to review and practice.
  • Remove flashcards when no longer needed.

🖥️ Interactive UI

  • Clean and intuitive interface built with Streamlit.
  • Easy input fields for text, language selection, and playback options.

📱 Responsive Design

  • Streamlit’s responsive layout ensures usability on both desktop and mobile devices.

🛠️ Tech Stack

  • Frontend: Streamlit
  • Backend: Python
  • APIs: Google Translate, Google Text-to-Speech (gTTS), MyMemory API
  • Tools: Python, pip

📂 Project Structure

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

🧪 Installation & Setup

📋 Prerequisites

  • Python 3.8+ installed
  • pip package manager

🧑‍💻 Steps to Run

  1. Clone the repository

    git clone https://github.com/Preveen369/LinguaSphere-App.git
    cd LinguaSphere-App
  2. Install dependencies

    pip install -r requirements.txt
  3. 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.
  4. Run the app

    streamlit run app.py

🌐 Access your app live at: https://preveens-linguasphere-app.streamlit.app/


🤝 Contributing

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 Request

📧 Contact

For queries or suggestions:


🌟 Show Your Support

If you like this project, please consider giving it a ⭐ on GitHub!

About

LinguaSphere App is a Streamlit-based Python web app that helps users learn languages through translation, text-to-speech, and flashcard generation using APIs like Google Translate, gTTS, and MyMemory.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages