98 questions
21
votes
5
answers
95k
views
Translate website to any specific language, on page load
Anybody have any idea how to translate a web page into any language using Google translate when it loads?
I don't want a drop down menu, I just want to convert the website into a specific language ...
12
votes
2
answers
1k
views
How to create microsoft/google translate button for each div separately?
How to create microsoft or google translate button for each div?
Each div has content in different language and I would like to add a translate button for each div and make it respond to only that ...
11
votes
8
answers
36k
views
Google Website Translator Automatic Display Mode
I'm trying to include google website translator on my website. I want to use the automatic thing so the bar shows up if your browser language is different to the page language. Every time I select the ...
9
votes
2
answers
23k
views
Customizing Google Translator drop down
I have a website and in this website am adding google translator so that people can see website in different languages
The code that i have added is
<div id="google_translate_element"></div&...
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 ...
8
votes
8
answers
16k
views
Google Translate Not working in Any IE but works in Firefox and GoogleChrome
I have tested this page in IE, Firefox, and Google Chrome. It works in all except IE. Can someone please tell me how to fix this, I have tried just about everything I could for the last two days.
TRY ...
7
votes
10
answers
26k
views
Google translator top bar hide
I am using google translator for my website. I want to hide the top bar of google translator let me know how i can hide that one?
Please check my site link here http://www.rewords.com and let me know ...
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 ...
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 ...
7
votes
1
answer
2k
views
Google Translator Toolkit for Android and iOS: how to upload existing translations?
For Android and iOS:
suppose I start with English as source for translation, I want to translate into French, Italian and Spanish. I already made a lot of translations for these languages, how can I ...
6
votes
0
answers
554
views
Custom translation meta tag missing (Google Translate widget)
I implemented Google Translate widget at my website, however translation to my native language from english is poor. I would love to be able to fix translation or merge google translation with custom ...
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 ...
5
votes
1
answer
388
views
In Google Website translator while onloading get default language then the chosen language is loading
In Google Website translator while onloading get default language then the choosen language is loading
As My client requirement I need to change the content of the chosen language but it loading as ...
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 ...
4
votes
1
answer
2k
views
How to translate from one Language to Another In Android
I have some query.i want to translate from one language to another langugae.i am following this tutorial http://android-er.blogspot.in/2009/10/androidtranslate-using-google-translate.html but i am ...
4
votes
2
answers
4k
views
Google Translate get synonyms and examples
Can I access word's synonyms and examples along with the translation itself, when using Google Translate API?
I checked out docs but I don't see anything like that.
4
votes
3
answers
4k
views
translate a PHP array value using google translator API
I am working on translating text via google translate api.I have to translate English Language data comes from database to other Language like Japanese and also save the different Language output in ...
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 ...
3
votes
1
answer
370
views
How to implement Google Translate API in meteor app
I m new to Meteor and i want to create an application that will help to convert my user inputs in different language using google translate api.
Is there any packages for that?
Can anyone help me for ...
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 ...
3
votes
0
answers
404
views
Auto Translate Page With Google Tool Based on IP or Locale?
I currently have the Google Website Translator installed on my website. However would like it to activate automatically based on:
Visitor's IP
Visitor's Locale
Both
I googled about it, but couldn't ...
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({
...
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 ...
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.
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 = ...
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
...
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 ...
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 ...
2
votes
2
answers
800
views
Unable to upload document to begin translations
Have to get some localization done and hoping to use Google's translate toolkit to make .po files.
Despite setup billing, translate api, tried different browsers, accounts, new account... any time I ...
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 ...
1
vote
2
answers
2k
views
Google Website Translator Prevent Specific Sections from translating
I am trying to use Google's Website Translator Customization. (Where you just grab the meta tag and snippet of code they have you insert into your website page). And I am trying to figure out if there ...
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 ...
1
vote
1
answer
4k
views
Multiple requests to the google translator API make website TOO slow
I am using Google translator API to translate my website in some of the websites:
I do it so:
function translate($from_lan, $to_lan, $text){
$json = json_decode(file_get_contents('https://ajax....
1
vote
3
answers
3k
views
How to disable google translator plug in and set margin-top: to 0px for body element?
I'm currently use Google Translator plug in for my website
I have alaready
.goog-te-banner-frame{
visibility:hidden !important;
CSS property to disable Google translate bar on top.
But ...
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
...
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://...
1
vote
1
answer
2k
views
how to get all the translated words from google translation through C#?
In my windows application, i have to translate some word from 'English' to 'Hindi' language.I have using GoogleTranslation.cs for accessing and getting translated content from google. This is a small ...
1
vote
2
answers
10k
views
How can I use Google Translate for translating values in a website form field (text box, text area)?
I want to translate my website using Google Translate. I used the code below.
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google....
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
...
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 ...
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
...
1
vote
1
answer
2k
views
How to use Google translate api to translate specific word only
I want to translate specific word only in my PHP website.
for example
Data Language Translation
---------------------------------------------
Hello select ___________
...
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 = """ ดำเนินธุรกิจทางด้าน ผลิต ถุงพลาสติก ถุงบรรจุอาหาร พร้อมด้วย ถุงพิมพ์สอดสี ระบบกราเวียร์ ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...