Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [googletrans]

An unofficial Python library for interfacing with Google Translate

googletrans
0 votes
0 answers
40 views

setup.py egg_info did not run successfully while installing googletrans==3.1.0a0

We are getting following error on RHEL 8.4 server while installing specific googletrans==3.1.0a0. pip install googletrans==3.1.0a0 Collecting googletrans==3.1.0a0 Using cached googletrans-3.1.0a0....
Dnyandev's user avatar
0 votes
0 answers
55 views

While Trying to build a Language translator, Have Text_area which takes input On click of Translate button, Text area should show converted code

While trying to build a language translator, I have text_area which takes input and another text_area should show converted translated text. On click of Translate button, text_area should show ...
Srinivasa Murthy Karumanchi's user avatar
0 votes
0 answers
67 views

get transliterated text Except translated text

Whenever I Used googletrans API to convert my English text to any Indian language like Gujrati, what happens is that, it gives me translated text except converted text. I'll give you an example like, ...
Vijay Bokade's user avatar
0 votes
0 answers
141 views

Auto-translate using Python

I'm doing an auto-translation script to convert all the data (mixed language) in my Excel file. My file is composed of 3000-4000 raw data with mixed language and I want to translate all the data to &...
user23367378's user avatar
0 votes
1 answer
37 views

How to keep UTF8 encoding during xml parse, attribute value change and file writing? (python)

I'm writing a programm in Python, my goal is to : read input xml file one line at a time for each line find "CH" attribute change attribute value : translate from french to portugese write ...
JB B's user avatar
  • 11
0 votes
0 answers
80 views

How to use googletrans to translate text attributes in xml parsed file in python?

I have a xml file with loads of lines containing this kind of elements: <?xml version="1.0" encoding="UTF-8"?> <PAGEOBJECT XPOS="553.544307086578" YPOS="...
JB B's user avatar
  • 11
0 votes
1 answer
585 views

How can I fix Openai and googletrans dependency error

googletrans 4.0.0rc1 requires httpx==0.13.3, but you have httpx 0.26.0 which is incompatible. openai 1.8.0 requires httpx<1,>=0.23.0, but you have httpx 0.13.3 which is incompatible. I am trying ...
Bad Gamer's user avatar
0 votes
0 answers
183 views

does anyone knows how to solve dependency clash between httpx httpcore and googletrans?

I have a code in which googletrans(4.0) is clashing with httpx and httpcore. do you have any version combination for working all at same time. i tried : pip install -U googletrans==4.0.0-rc1 then ...
Ajay's user avatar
  • 1
0 votes
1 answer
238 views

ModuleNotFoundError: No module named 'googletrans', but I did download it

I'm trying to test out googletrans every time I try to run the file I get this error message: from googletrans import Translator ModuleNotFoundError: No module named 'googletrans'. I have tried ...
Karem636's user avatar
0 votes
0 answers
79 views

Why does installing `googletrans` to a `flask_socketio` app give `Invalid async_mode specified`

When I install googletrans into the most barebones flask_socketio server, running the server gives me Invalid async_mode specified. Here is the basic Flask app: from flask import Flask from ...
Oliver Barnum's user avatar
0 votes
0 answers
80 views

Nodejs required googletrans is giving Error [ERR_PACKAGE_PATH_NOT_EXPORTED]... is not defined by "exports"

I am new to discord app development. I was following a youtube tutorial for creating a google translation bot written in python. I dont know python language so I opted for Nodejs development. As you ...
Jagger's user avatar
  • 1
1 vote
2 answers
88 views

Python module "googletrans" not working in windows system

I have written a python code that translates languages from tge following input types: text, inage and audio. I am using the googletrans api for translating but it is giving htis error on running : '...
Deepak's user avatar
  • 11
0 votes
1 answer
168 views

Googletrans not working with large datasets

I'm trying to translate a column of a Dataframe of shape (13815, 2), that are English sentences. I want to translate them to Persian('fa'). but since the size of the data is too much, every time I try ...
Majid wasiqi's user avatar
0 votes
0 answers
101 views

How to apply googletrans to a Spark DataFrame?

I'm trying to translate a column using the google translator API. When applying the UDF Function it shows the following error: PicklingError: Could not serialize object: TypeError: cannot pickle '...
Alberto Tienda's user avatar
1 vote
3 answers
2k views

How to resolve "TypeError: the JSON object must be str, bytes or bytearray, not NoneType" error, while working on translating with googletrans?

How can I resolve TypeError while translating with googletrans? TypeError occurs on 'result = translator.translate(messages[i], dest='en')', and I can't understand because type of result is '...
Scarlet's user avatar
  • 35

15 30 50 per page
1
2 3 4 5