/pytranslate

A language translator developed in Python using PyQt5 gui.

Primary LanguagePython

Language Translator

This is a desktop GUI app developed in Python that allows users to translate text from one language to another. The app utilizes the Google Translate API through the googletrans library and is built using the PyQt5 framework.

Preview

preview

Features

  • User-friendly GUI interface.
  • Supports translation of text from one language to another.
  • Uses the Google Translate API for accurate translations.
  • Supports translation of text to and from multiple languages.
  • Displays the translated text in the output window.
  • Displays an error message if the translation process fails.

Getting Started

  1. Clone this repository to your local machine.
  2. Create a Python virtual environment.
python3 -m venv env
  1. Activate the virtual environment.
source env/bin/activate
  1. Install the dependencies by running the following command:
pip install -r requirements.txt
  1. Run the app by running the following command:
python app.py

Usage

  • Launch the app by running the app.py file.
  • Enter the text that you want to translate in the input field.
  • Select the source language and the target language from the dropdown menus.
  • Click on the Translate button to initiate the translation process.
  • The translated text will be displayed in the output window.

Technologies Used

  • Python
  • PyQt5
  • Google Translate

Author

Alex Corvin

Version

1.0.0

License

License: MIT