Skip to content

This is a simple Streamlit web application that translates text from one language to another using the Google Translate API.

License

Notifications You must be signed in to change notification settings

codewithdark-git/text-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Translator

The Text Translator is a simple web application built using Streamlit and Google Translate API. It allows users to translate text from one language to another easily.

Features

  • Translation of text from one language to another.
  • Selection of target language from a dropdown menu.
  • Customizable Streamlit theme for a better user experience.
  • Error handling for translation failures.

Setup

To run the Text Translator locally, follow these steps:

  1. Clone this repository to your local machine.

    git clone https://github.com/codewithdark-git/text-translator.git
  2. Navigate to the project directory.

    cd text-translator
  3. Install the required dependencies.

    pip install -r requirements.txt
  4. Run the Streamlit app.

    streamlit run app.py
  5. Access the Text Translator in your web browser at http://localhost:8501.

Usage

  1. Enter the text you want to translate in the text area provided.
  2. Select the target language from the dropdown menu.
  3. Click the "Translate" button to initiate the translation.
  4. View the translated text displayed below.

Dependencies

  • Streamlit
  • Googletrans

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This is a simple Streamlit web application that translates text from one language to another using the Google Translate API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages