Hi John:
Are you missing the 'q' and 'target' parameters in your api call?
"https://www.googleapis.com/language/translate/v2?
key=<your_key_here>&source=SourceLang&target=TargetLang&q=<url_encoded_text_to_translate"
HTH,
Best,
Shailen
On Apr 26, 5:27 am, John Presland wrote:
> I've used the v2 API with Wordfast since November and, up to now it's
> worked perfectly. Now it just throws up the error message :
> "error": {
> "errors": [
> {
> "domain": "global",
> "reason": "required",
> "message": "Required parameter: q",
> "locationType": "parameter",
> "location": "q"
> },
> {
> "domain": "global",
> "reason": "required",
> "message": "Required parameter: target",
> "locationType": "parameter",
> "location": "target"
> }
> ],
> "code": 400,
> "message": "Required parameter: q"
> }}
>
> It's been doing this for about the last five days. Has anybody got any
> idea what's going on?
--
You received this message because you are subscribed to the Google Groups
"General" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-translate-general?hl=en.