Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
1 answer
146 views

Errors with Python program to translate word doc from English to French

I am very new to programming and am trying to use python 3.12.3 on Windows 11 to take a word doc file and translate it from English to French for a student of mine. It is a very large file (84,332kb) ...
Forrest Beal's user avatar
0 votes
1 answer
356 views

Google translator cdn

I'm working on the HTML website I have google translator CDN and I want to change the English language to another language that is also working fine in google page insights. I got this error: ...
Anurag's user avatar
  • 85
1 vote
1 answer
168 views

Python DeepTranslator and GoogleTranslator not working with text?

I try to translate a text using the following code - # -*- coding: utf-8 -*- text = """ ดำเนินธุรกิจทางด้าน ผลิต ถุงพลาสติก ถุงบรรจุอาหาร พร้อมด้วย ถุงพิมพ์สอดสี ระบบกราเวียร์ ...
Rapid1898's user avatar
  • 1,553
0 votes
1 answer
266 views

How to get the list of the downloaded languages in the google translate Mlkit

modelManager.getDownloadedModels(TranslateRemoteModel.class).addOnSuccessListener(new OnSuccessListener<Set<TranslateRemoteModel>>() { @Override public void onSuccess(Set<...
IT Student's user avatar
0 votes
2 answers
2k views

Google Translate not working with dynamic content in web HTML

To achieve a multi-language website, I have attached the below code in the HTML. reference: https://www.w3schools.com/howto/howto_google_translate.asp <div id="google_translate_element"&...
Kiran's user avatar
  • 579
2 votes
0 answers
257 views

Can I use multiple languages for the language detection API in python?

I'm trying to build my own automatic voice to text translator here is my code so far... import speech_recognition as sr from googletrans import Translator from textblob import TextBlob translator = ...
Daniel Bueno's user avatar
1 vote
1 answer
2k views

I am trying to convert hinglish dataset to english using python

for i in range(10300): sentence = df["tweet"][i] translations = translator.translate(sentence.encode('unicode-escape').decode('ASCII'), dest='en') The error i am getting while executing
Sonam's user avatar
  • 21
0 votes
1 answer
319 views

Is it possible to use googletrans to only translate whats between marked areas?

Trying to develop something that can auto translate things into different languages in a file but only want things to translate between marked areas. Question is: Can I specify .read to only read ...
DaLegacy's user avatar
  • 133
0 votes
2 answers
116 views

NoneType Error while trying to use Py for auto text file translation

Im trying to develop something that is able to accept a txt file and translate what ever is in it to the languages which I have given it. I made a small test with this as I dont use python but I get ...
DaLegacy's user avatar
  • 133
0 votes
1 answer
3k views

Googletrans not detecting language

Good morning everyone, I am using googleTrans in my code to translate a list of sentence. It worked perfectly until today. Now when I run it, it perceive everything as English and then not making any ...
Claire S's user avatar
1 vote
1 answer
250 views

If we remove "powered by Google" while using google translator API, violates the T&C of Google?

If we remove "powered by Google" while using google translator API does it violate the T&C of Google? In attribution requirements it is given but I am not sure whether it is legal or not ...
Muskan Tripathi's user avatar
0 votes
0 answers
273 views

Google Translate js is not working in ie but its working on chrom,edge and firefox

I am using google widget which use js provided by google. Its working on chrome,mozila and edge but only problem is there with IE, its not showing widget itself :( I am using below code. &...
vim's user avatar
  • 874
2 votes
0 answers
343 views

What are the urls required to unblock through firewall in corporate network for accessing for Google Translate API (Advanced Version)?

What are the urls required to unblock through firewall in corporate network for accessing for Google Translate API (Advanced Version)? Right now unblocked are: *.googleapis.com and accounts.google.com ...
Sham Kumar Sirimilla's user avatar
2 votes
3 answers
10k views

google translate dropdown - set the language option label in that language itself

I have used google translate element with code: <div id="google_translate_element"></div> function googleTranslateElementInit() { new google.translate.TranslateElement({ ...
K Shaikh's user avatar
  • 409
0 votes
1 answer
337 views

AttributeError: 'NoneType' object has no attribute 'group' while using Google translator

I have pandas dataframe column in Polish language and want to translate into English Language but I got error. Code below: from googletrans import Translator translator = Translator() df['text_en'] = ...
Sweety Tripathi's user avatar
1 vote
2 answers
2k views

Google Translate shows blank screen in Chrome

Google Translator has stopped working in Chrome 85.0.4183 (also in Canary, Opera, Edge). For example, after pressing "Translate" button at https://colnect.com/en/collectors/collector/teleawe ...
Yuri's user avatar
  • 313
1 vote
1 answer
5k views

The google translator icon disappears from my address bar when I load my website

I need to be able to translate my web application into another language. I enabled the google translate extension in chrome. When I load my company website with chrome the translate icon appears and I ...
Sal Vitti's user avatar
0 votes
0 answers
107 views

Attaching a custom function to amp "on" attribute

<select id="gtranslator" on="change:gtranslator.doGTranslate(this)"> <option value="">Select Language</option> <option value="arabic">arabic> <option value="english"...
Osahenrumwen Aigbogun's user avatar
1 vote
0 answers
254 views

Google translator issue with dropdown

I am having an issue with my website that uses google translator, the issue is when i select any other language other than English not all records from my country drop-down list gets translated? The ...
Rosalyn's user avatar
  • 11
2 votes
1 answer
5k views

Python code to translate Chinese letters to English from a Dataframe

I am trying to translate a column which contains names of Chinese company and I would like to translate it to the actual English word and not the meaning of the word. Can anyone help me here.
Yashish Karkera's user avatar
0 votes
0 answers
223 views

Making my own translator with using googletrans with python

I just prepare something but my code is not working I mean I get a white screen and buttons are not displaying on the page. I thought the problem could be with my computer I'm still using a pc with ...
Melik's user avatar
  • 1
1 vote
0 answers
2k views

How to translate offline and keep the format of document?

I used the document translation API from google. And also I could use Google-trans Python. However, I could not figure out a way to: Translate document KEEP a high percentage of original format, such ...
user avatar
1 vote
1 answer
1k views

googletrans not fully translating from English to Italian

I have just installed the library googletrans but when i try to translate a simple sentence from English to Italian, it does not work properly. Here is the code: from googletrans import Translator ...
Federico Gentile's user avatar
5 votes
2 answers
2k views

How to translate flutter's intl .arb files after the phase out of Google Translate Toolkit?

Google Translator Toolkit will not be available after Dec 4, 2019. Flutter's internationalization package, intl_translate, is based on .arb files which can only be translated with Google Translate ...
rfarias's user avatar
  • 1,416
1 vote
0 answers
39 views

Chrome translator add DOM and breaks code

Chequear traducir correos-app se pifia I have my app with a sidebar working ok, with this rendered code (the actual code is pure php and javascript, that's why I paste a screenshot of the chrome dev ...
pmiranda's user avatar
  • 8,577
3 votes
2 answers
8k views

translate dataframe column with python

i want to translate column of my dataframe from french to english. from googletrans import Translator translator = Translator() df = pd.DataFrame({'French':['ma voiture','Il fait beau ...
anayisse2's user avatar
  • 103
0 votes
1 answer
313 views

Press spacebar when button is clicked

It is known that spacebar must be pressed to translate while using google transliteration. But requirement is to translate already stored value in input fetched from database, not a live user typed ...
Hemant's user avatar
  • 83
0 votes
1 answer
3k views

Can I use google translator offline?

I am developing one application using spring boot and bootstrap. My requirement is I want to change languages as per user requirement. Recently I referred one task in w3sc: Task In this code have ...
veer's user avatar
  • 127
4 votes
3 answers
21k views

Why am I getting a ModuleNotFoundError when using googletrans

I have pip installed googletrans and more or less copied this code off a video but for some reason it cannot find the module. from googletrans import Translator text=("How to convert some text to ...
Shoto's user avatar
  • 43
3 votes
1 answer
10k views

How to fix 'String is not subtype of type widget'?

I am trying to use GoogleTranslator library to translate input text, but i got an error that say type String is not subtype of type Widget i tried to create a function that receive a text and return ...
Mo0ohA's user avatar
  • 33
7 votes
3 answers
7k views

how to disable Google Translate API from not translating proper names with common words

I am using Google Cloud Platform to create content in Indian regional language. Some of the content contains buildings and society name which have common words like 'The Nest Glory'. After conversion ...
Saurabh Saha's user avatar
  • 1,173
2 votes
1 answer
478 views

Creating Words Dictionary and Mapping to other languages

I am creating an app, where user can search in multiple languages. Let's say I have a website which host a very big novel. may be consisting of thousands of para graphs. some where between 20,000 to ...
muhammad kashif's user avatar
0 votes
2 answers
2k views

Google Cloud Translation Api returns only translation in target language

I have implemented Google Cloud Translation API to translate English to the Kannada language. It is working fine, however, when I call translation.getTranslatedText(); I receive the only translation ...
Varun A M's user avatar
  • 1,162
2 votes
1 answer
2k views

How to hide title bar via Google Translation Javascript API on Desktop and Mobile

While using the Google Translation API, I see a title bar appearing on the Top of the page (on Both Desktop and Mobile. I would like to check if there is a feasible way to hide this bar and also ...
Tushar Bhati's user avatar
0 votes
1 answer
2k views

Google translate in address bar

I want to add google translator to my website. Google brought me here: https://translate.google.com/manager/website/add Everything works fine, but the way how it is integrated is just ugly as you ...
StaXter's user avatar
  • 211
7 votes
5 answers
17k views

Missing a valid API key about Google Translation API Client issue?

I follow the https://cloud.google.com/translate/docs/reference/libraries#client-libraries-usage-java to get started java client demo. I have already set authentication json file to the environment ...
Federer's user avatar
  • 73
1 vote
1 answer
3k views

translate() missing 1 required positional argument: 'text'

I want to translate a tweet from Bahasa Indonesia to English, so after I can get a tweet, I run this code: from googletrans import Translator tweet = tweet.text # This saves the twitter text ...
Berlian's user avatar
  • 55
1 vote
3 answers
2k views

Extract comment written in Chinese and translate them into English using some script

I have a C++ project in which comments of source code are in Chinese language, now I want to convert them into English. I tried to solve using google translator but got an Issue: Whole CPP files or ...
Arun Pal's user avatar
  • 757
1 vote
2 answers
3k views

Google Translate API : Multiple input texts - Python

I am struggling to find a way to input multiple texts in Google Translate API. My setup includes the following things. Using urllib.request.build_opener (Python3) Google Translate API https://...
Nandan Bhat's user avatar
  • 1,563
0 votes
1 answer
1k views

Google translator in textbox not working for https site

i used google translator for textbox. its working as excepted but when i moved to production it's showing "The page at 'https://myexample.org/' was loaded over HTTPS, but requested an insecure ...
chozha rajan's user avatar
0 votes
1 answer
361 views

Tagging translate content with Google Translator

I know that there is tag to identify content to be skipped for translation or even to skip an entire page. But I am actually looking the other way around. Is there a tag to use to identify only the ...
user9352236's user avatar
0 votes
1 answer
4k views

How to translate text from English to German

I would like to translate the text from English to German. Transliterate is just translating from English to another language except for German language.How can I translate from English to German? ...
rajveer_singh's user avatar
2 votes
0 answers
534 views

How to Implement google translate API offline in my java appliaction

I want know information about the google translate API offline access. My application is blocking external service access so I can't use web service based translation so I am planning to implement ...
Gokul Das's user avatar
0 votes
1 answer
1k views

Google traslate API request sample for did you mean

When I select a input language and type some word (as it pronounce). It gives a 'Did you mean' options. How can I get this option as a response from Google cloud translate API? Please take a look on ...
Dilip Chouhan's user avatar
0 votes
0 answers
178 views

GOOGLE TRANSLATE - translated -> original texts connections?

I HAVE A BIG DOCUMENT FOR TRANSLATE, AND I'M TRYING TO SEE THE EXACTLY CHANGES FOR EACH TEXT'S TRANSLATION. Using Google Translate (API), The Translate returns only the translated text. Any way the ...
Ofir Malachi's user avatar
  • 1,274
1 vote
0 answers
295 views

How to do Google Transliteration for dynamic text fields

How to use google transliteration for dynamic text fields? <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> // Load the ...
Karthik's user avatar
  • 5,767
9 votes
1 answer
2k views

How to Do Google transliteration based on Class not Id

I am doing a Tamil Language based Web Application. In My application, l used Dynamic Fields to Add User Details. So, Dynamic Fields have multiple ids how to do this or How to use Google ...
Karthik's user avatar
  • 5,767
1 vote
1 answer
5k views

How to do Right to Left Layout and text change for arabic Translation with Google Translator

I have change the webpage should display form Right to left for arabic and Left to write for English with Layout Change. When I have use Google translate it will replace the Content in the same ...
Mohamed Sahir's user avatar
0 votes
1 answer
67 views

Google website translator script interferes with the left value of jquery dialog box

Google website translator script interferes with the left value of jquery dialog box. When the screen is loaded, the dialog box is initially centered and then pushed right. I do not know why this is ...
kimkakaka's user avatar
1 vote
1 answer
1k views

Bookmarklet to simulate button click in a Google service iframe

The goal is to add keyboard shortcuts to Google's Google Translator Toolkit. Most functions there have keyboard shortcuts, but these two don't. The first function is called Merge Down. It fires ...
Dan's user avatar
  • 69