Questions tagged [google-translation-api]

Programmatic interface for dynamic translation of language pairs that uses statistical machine translation service. Supports more than 100 languages and has a language detection feature.

Performs translation via a standard Google REST API. Uses the Phrase-Based Machine Translation (PBMT) and Neural Machine Translation (NMT) models for language recognition.

355 questions
178
votes
20 answers

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery?

I got this error in Google App Engine's Python have used Google Translate API, But I don't know how to fix, from apiclient.discovery import build ImportError: No module named apiclient.discovery I'll try to set environment which indicates…
12
votes
1 answer

Python google-trans-new translate raises error: JSONDecodeError: Extra data:

While working on Google translate API, I found out some times google can't translate anything, while it keeps raising the same exception: Extra data. I have searched on the internet, I found a theory saying I have been blocked by Google translate…
Xia
  • 309
  • 1
  • 3
  • 9
11
votes
1 answer

Getting error in Google Transliterate API in javascript

I am using Google Transliterate API in my project to translate English text to Gujarati. It was working fine, however I am facing issue in google-jsapi now. Here's my code: