Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,476 changes: 3,476 additions & 0 deletions Team40-InteractiveTranslator/ByteMe - Interactive Translator.py

Large diffs are not rendered by default.

Binary file added Team40-InteractiveTranslator/Images/custom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/fq1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/fq2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/fq3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/fq4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/fq5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/gq1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/gq2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/gq3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/gq4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/gq5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/iq1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/iq2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/iq3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/iq4.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/iq5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/pq1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/pq2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/pq3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/pq4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/pq5.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Team40-InteractiveTranslator/Images/salpha.jpg
Binary file added Team40-InteractiveTranslator/Images/speaker.png
Binary file added Team40-InteractiveTranslator/Images/sq1.jpg
Binary file added Team40-InteractiveTranslator/Images/sq2.jpg
Binary file added Team40-InteractiveTranslator/Images/sq3.jpg
Binary file added Team40-InteractiveTranslator/Images/sq4.jpg
Binary file added Team40-InteractiveTranslator/Images/sq5.jpg
Binary file added Team40-InteractiveTranslator/Images/welcome.png
49 changes: 49 additions & 0 deletions Team40-InteractiveTranslator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<u>**INTERACTIVE TRANSLATOR** 🌎:</u>

The Interactive Translator is a group project made for Buffer 3.0, a DSA project competition arranged by club Loop of MKSSS’s Cummins College of Engineering, Pune.

Link to Pitch Video: https://drive.google.com/file/d/17Db5jcAFqp_av0uWMdUgmrSKucuvA_mk/view?usp=sharing

**Objective :**
The main objective of this project is to provide a user-friendly interface to help people with the translation in the five basic languages, Spanish , Italian, German, French and Portuguese.
to help people communicate easily in foreign countries
to provide a portable, pocket friendly translator for smooth translation
to broaden a person’s knowledge on a country’s language and culture.


**Features :**
Universal Translator for translating any custom text by the User
Text to Speech conversion for a deeper understanding of how the words are pronounced
A Quiz to test your knowledge about different languages,cultures and countries with images.
Each language has 2 frames with commonly used phrases, words and sentences to instantly give the user a translation along with the pronunciation of the translated text.
The user is able to freely navigate through the frames of all languages with buttons placed at appropriate positions
There are various images placed throughout the interface to keep the user engaged and help them gain a more visual experience.
Text to speech has been integrated with accented pronunciation for each unique language.

**Programming Language:** Python

**Data Structures used:** Dictionary, List,Dictionary with Lists

**User-defined Functions :**

clear_widgets() : erases all buttons,labels, voice boxes etc from the current frame.
create_label(text): creates a label with specifications of size, colour, style etc with the text parameter
create_buttons(text): creates a button with specifications of size, colour etc with the text parameter
create_voicebtns(): creates voice buttons with specifications and a png file
voice(): sets an appropriate accented voice for each language
clickMethod(): translates any text in the selected language using googletrans

**Libraries used:**
PyQt5(GUI) and tools
googletrans(universal translator)
pyttsx3(text to speech)

**Project Prospective:**
- To make the code a workable app across mobile devices.
- To make the code executable across multiple OS’s
- To create a website with the same functionality of the app.
- An online community that shares experiences and progress.
- To make it easily accessible in areas with low internet access and unreliable connectivity.


**Byte Me Team :** Esha Deo, Kanak Daulatani, Asavari Thorat, Srushti Pekamwar,Koshin Gautam.
24 changes: 24 additions & 0 deletions Team40-InteractiveTranslator/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
1)Install from website for appropriate version
python==3.7.9
2)PyQt5 GUI:
pip install pyqt5==5.15.6
pip install pyqt5-tools
3)Text to speech:
pip install pypiwin32
pip install pyttsx3
4)Google Translate
pip3 install googletrans==3.1.0a0
5)Add languages on PC languages:
step 1: Settings>Time & Language>Language>Preferred Languages>
Add Language>(add individually)
-German(Germany)
-Spanish(Mexico)
-Portuguese(Brazil)
-French(France)
-Italian(Italy)

step 2: Settings>Time & Language>Speech>Voices>Microsoft Elsa
step 3: Settings>Time & Language>Speech>Installed voice packages
ensure all above speech packages are installed, if not click on "Add voices"
6)Download folder of images provided and place in the same filepath as .py file