Questions tagged [google-cloud-translate]
56 questions
1
vote
1 answer
How to pass source language code to Google Cloud Translate Basic API Edition in Node.js
Any ideas?
This is what my code looks like. I followed the basic project setup guide for Node.
Init
const {Translate} = require('@google-cloud/translate').v2;
const translate = new Translate({projectId, credentials});
const text = 'The text to…

Steve
- 93
- 1
- 9
1
vote
0 answers
how to translate angular page into respective language on language selection using google cloud translation
I am developing a basic website using Angular. I have a requirement to translate the complete page without using resource file approach. The end customer does not want to maintain the resource files in multiple languages and expect translation to…

Sangeeta Dammu
- 11
- 2
1
vote
1 answer
how to use Google Cloud Translate API for translating bulk data?
I have a csv file of several thousands of rows in multiple languages and I am thinking of using google cloud translate API to translate foreign language text into English. I have used a simple code to find out if everything works properly and the…

Piyush Ghasiya
- 515
- 7
- 25
1
vote
1 answer
.NET: The Application Default Credentials are not available
In my application, I use the Google Cloud Translation service.
On my developer machine, I have the Google credentials environment variable installed.
However, when deployed, my application throws the following error:
The Application Default…

tmighty
- 10,734
- 21
- 104
- 218
1
vote
0 answers
Google Translate API: Transliterated Input
We are currently developing an application which uses the Google Translate API. For that we use the Cloud Translate Library for Node.js.
This works until the input text is transliterated (e.g. from Cyrillic -> Latin).
A translation of the russian…

Christoph M
- 11
- 1
1
vote
1 answer
How to use Google Cloud Translation V3 with API KEY in C# client library?
I want to use Google Translation V3 with C# client lib google provides.
but what I can find all is using service account to authenticate.
I prefer to use API key as an authentication method instead of service account since I'll build this app to…

CloudL
- 201
- 1
- 5
- 16
1
vote
0 answers
Google Translate vs. Google Cloud Translate
Google Cloud Translation offers Neural Machine Translation (NMT) and Phrase-Based Machine Translation (PBMT). It is stated that "nmt model is used if the language pair is supported, otherwise the PBMT model is…

bnr
- 13
- 3
1
vote
1 answer
How to translate a long text with google cloud translate v3
Enviroment:
API: Google Cloud Translate V3,
Text Size: 12 000 words
It's possible to translate words and short sentences by the translateText() method, but when I run the whole text, I run into a 'Text is too long' error.
"message": "Text is too…

michael-mammut
- 2,595
- 5
- 28
- 46
1
vote
2 answers
Override the django translation method
I wish to find a simple way to override the gettext method use by Django.
I wish to create my own method and tell Django to use it everywhere (.py, Template …). In my .py it's simple, I can use my new method directly but in the Django engine I do…

Jonathan Le Cornichone
- 342
- 2
- 19
1
vote
0 answers
google translate API authorisation problem
I am trying to translate some text using GCP translation service with REST api https://translation.googleapis.com/v3
I'm using API key auth method.
url…

Konstantin Astapov
- 31
- 4
1
vote
2 answers
Translation by Google Cloud Translate API returns html escaped text
In my application, I am trying to translate a few Spanish texts to English using the Google Cloud Translation API. I noticed that the texts that I am receiving after translation is HTML escaped, meaning that "'" appears as "';", ">"…

ronojoy ghosh
- 121
- 10
1
vote
1 answer
Convert HTML Characters To Strings in Pandas Dataframe
I want to replace html character to string in dataframe.
I tried below code but can't change to stirng.
import html
html.unescape(data)
Here is my dataframe and How can I this?
For your reference, This result from Translation API by Google Cloud.…

purplecollar
- 176
- 1
- 14
1
vote
0 answers
Trouble in 'Retrieving token..' in google speech translate api
I am trying to run speech translate App for iOS from GitHub which uses google speech API.
When the app starts to run a pop-up appearing with a message "Retrieving token". In-app folder 'ApplicationConstants.swift' file has also a variable for…

Murad Al Wajed
- 4,180
- 1
- 10
- 11
0
votes
0 answers
What are the limitations of the Google Cloud Translation SDK for golang?
I use the Translate method of the Google Cloud Translation - Basic(v2) SDK for golang.
I want to translate multiple Japanese with one Translate method.
I ran the Translate method on the following Japanese strings.
resp, err :=…

eyasy1217
- 5
- 1
0
votes
0 answers
Issue while Enabling Cloud Translation API in GCP
I am trying to Enable Cloud Translation API and my project is also linked with valid Billing Account Still i am facing the issue.

NoobCoder
- 625
- 1
- 5
- 18