how to create translator using python | python tkinter

preview_player
Показать описание
In this video, I will show you how to create a translator using tkinter,googletrans and textblob package.

if by chance this project is not working then you can try this one :
how to create translator using python | python tkinter project 2.0

CMD command to install require packages:
1. googletrans
" pip install googletrans "

" pip install textblob"

Project description
Googletrans is a free and unlimited python library that implemented Google Translate API. This uses the Google Translate Ajax API to make calls to such methods as detect and translate.

TextBlob is a Python (2 and 3) library for processing textual data. It provides a simple API for diving into common natural language processing (NLP) tasks such as part-of-speech tagging, noun phrase extraction, sentiment analysis, classification, translation, and more.

if you like the the video provided by me ,then subscribe to my channel and share this video with your friends.🙏🙏
All the best.

------Other Python Projects -----
1.How to Convert Image to pdf using Python

2.Voice Recorder using Python

3.Digital Clock Using Python | Creating clock in Python

4.TEXT TO SPEECH USING PYTHON | Convert Text to Speech -gTTS(Google Text to Speech)

5.How to Create Calculator in Python - Calculator In #Python​ Using #Tkinter

6.Creating a GUI Notepad In Tkinter | Python Tkinter GUI Tutorial

7.Create a ImageViewer using Python | Python #Tkinter

8.Create GUI Calendar Using Python - Python Tkinter Tutorial

9. Brute Force Password Cracker With Python

10. How to take Screenshot using Python | PyAutoGUI

-Parvat computer technology

⚠if you getting any error !! than you can comment me 🙂
#parvatcomputertechnology

related video title
* how to create translator using tkinter
* Build language translator with few lines of python code
* Translate using Python - googletrans 👍
* Google Translate API with Python
* GUI Language Translator in Python | Tkinter Tutorial | Python Tutorial
* How To Create Text Translator Using Python in Hindi| Python mini Projects
* 5 Python Projects for Beginners
* 15 Python Projects in Under 15 Minutes
* Create your own Chatbot using Python
* Python Tutorials for Beginners - Learn Python Online
* Building a Translator | Python
* How to use Google Translate in python
* How to Make a Language Translator
* python tkinter project, tkinter python project
#pythonproject #tkinterproject #pythonprojects
Рекомендации по теме
Комментарии
Автор

The step by step execution of the code really made it easy to understand the functionality of the code pieces. It was easily to deploy the project as well. Thank You

ArathiHembram-ln
Автор

Straight to the Point Nice Video 😊😊
Thanks!

manbirjudge
Автор

thanks a bunch now i created myself and i am able learn to do it too, really thanks a lot

jeevagan
Автор

hello, when you run it, I write an error, I did everything like you
Can you help???

ТалгатТопанов-де
Автор

If you could do a overvoice and explain this code, that’ll be awesome.

akshatmishra
Автор

Thank you sir.. I execute this project successfully

priyadharshinia
Автор

How I can create it myself? Language that I use isn't in google, yandex and etc. translators.And I want to create translator from Romania to my language because I get a lot of information in Romania and I need to translate it myself which is a bit difficult .

LoganBigHat
Автор

Please make a video with speech for both input and ouput text to this project sir

rajilakshmi
Автор

Hello, I am following along with your video here, but the translator keeps showing the messagebox error and not the translated response. I have looked back at the video a lot and cannot find why this is happening. All of the code is identical. My IDE is saying that the 'c2' local variable is not used and the only time it appears is in the translate_now function. Here is the code that a wrote alongside the video:

def translate_now():
global language
try:
text_ = text1.get(1.0, END)
c2 = combo1.get()
c3 = combo2.get()
if text_:
words = textblob.TextBlob(text_)
lan = words.detect_language()
for i, j in language.items():
if j == c3:
lan_= i
words = words.translate(from_lang=lan, to=str(lan_))
text2.delete(1.0, END)
text2.insert(END, words)
except Exception as e:
messagebox.showerror("google trans", "please try again")


Thank you for making this video and for your assistance.

senorviglione
Автор

I got an error
RecursionError: maximum recursion depth exceeded in __instancecheck__
I tried changing the recursion value using sys.setrecursionlimit()
Still I'm receiving the same error
Any Solution??

manishd
Автор

Can you please make a tutorial on how to make Notes which include:
• Ability to add text, video, pictures, audio messages
• Create infinite folders and sub-folders for created categories. Add categories
• When pasting a YouTube link to the note, make link appear with Preview of the video.
• When writing your note, add ability to make bold, crossed, cursive texts
• The app shouldn't have problems with PDF files

tewlad
Автор

hi may i know instead of using the data from google translate, can we use our own data? I need to create between 2 languages only TT

hdhm__
Автор

My code is properly running with no error but every time error message box showing not translating . Please fix it 🙏

SPY_Anuj
Автор

Whenever I go to translate, the message to try again appears, I put "=" like at the end of the video but it persists, what is the error?

klaussz
Автор

Can some one tell my about : Textblob has no attributes detect_language
Problem

PeakyBlender-pmgs
Автор

hello i keep getting the messagebox error and it doesnt translate and i kept looking back to the video and still cant find the problem . what should i do ?? and this is the code:


def translate_now():
global language
try:
text_=text1.get(1.0, END)
c2=combo1.get()
c3.combo2.get()
if(text_):


for i, j in language.items():
if(j==c3):

words=words.translate(from_lang=lan, to=str(lan))
text2.delete(1.0, END)
text2.insert(END, words)
except Exception as e:
messagebox.showerror("googletrans", "please try again")

hibasmi
Автор

Sir its showing this type of error pls explain[" line 54, in <module>
scrollbarl1. pack(side="right", fill="y")
NameError: name 'scrollbarl1' is not defined. Did you mean: 'scrollbar1'?"]

Sigce
Автор

hello man I have a question for you please tell me why it doesn't this function
def translate_now():
global language
try:
text_ = text1.get(1.0, END)
c2 = combo1.get()
c3 = combo2.get()
if text_:
words = textblob.TextBlob(text_)
lan = words.detect_language()
for i, j in language.items():
if j == c3:
lan_ = i
words = words.translate(from_lang=lan, to=str(lan_))
text2.delete(1.0, END)
text2.insert(END, words)
except EXCEPTION as e:
messagebox.showerror("googletrans", "please try again")


I have followed all of your steps, and it still doesn't work
bur in the case of 2.0 it works🤷‍♂🤦‍♂

adhamkongo
Автор

Which compiler do you use, I tried it on VScode but the 'googletrans' doesn't being installed on it

mdkk
Автор

detect_language() and translate() not working

gopalparaskar