Machine Translations API Keys in OmegaT 3.5.3
Thread poster: Alan Sponberg

Alan Sponberg
United States
Local time: 19:54
German to English
Feb 26, 2016

I recently entered my Google Translate key and my Bing Translate key ID and Secrete codes in the 3.5.3 property file at:
OmegaT.app/Contents/Resources/Configuration.properties file
After checking the corresponding selections under Options and attempting to call up MT of a segment , I get the following error codes:

400: Bad Request


403: Forbidden


What am I doing wrong? Is there another setting I haven't yet discovered.

Alan



[Edited at 2016-02-27 00:25 GMT]


 
Post removed: This post was hidden by a moderator or staff member for the following reason: not needed

Didier Briel  Identity Verified
France
Local time: 03:54
Member (2007)
English to French
+ ...
Check Java connectivity Feb 27, 2016

Alan Sponberg wrote:

I recently entered my Google Translate key and my Bing Translate key ID and Secrete codes in the 3.5.3 property file at:
OmegaT.app/Contents/Resources/Configuration.properties file
After checking the corresponding selections under Options and attempting to call up MT of a segment , I get the following error codes:

400: Bad Request


403: Forbidden

You can check Java connectivity by trying the Apertium translation engine, since it doesn't require credentials.

If Apertium works (even if you simply get the message "Erreur 451 : Not supported pair"), then it's an issue with your credentials.

If Apertium doesn't work, you can check whether you connection requires a proxy, for instance. (You can set proxy options in the same configuration file.)

Didier


 

Alan Sponberg
United States
Local time: 19:54
German to English
TOPIC STARTER
Not a Java Connectivity Problem Feb 28, 2016

Didier,

Thanks for your help. Apertium does work, so it's apparently not a proxy issue. On checking the credentials I had entered in Configuration.properties, I discovered that I had inadvertently truncated the key for Microsoft Translator while copying it. Fixed that problem, and now both Apertium and MS Translator are working, but still not the Google Translate V.2 key, which I had correctly copied.

Does Google perhaps require a separate key for the new computer I got soon after applying for the key that isn't working? That is, are the Google keys tied to one specific machine?

Alan


 

Didier Briel  Identity Verified
France
Local time: 03:54
Member (2007)
English to French
+ ...
Double check Feb 29, 2016

Alan Sponberg wrote:
Thanks for your help. Apertium does work, so it's apparently not a proxy issue.

Indeed, it's not.

On checking the credentials I had entered in Configuration.properties, I discovered that I had inadvertently truncated the key for Microsoft Translator while copying it. Fixed that problem, and now both Apertium and MS Translator are working, but still not the Google Translate V.2 key, which I had correctly copied.

If both Apertium and Translator are working, then there's obviously something wrong with your Google Translate key.

Does Google perhaps require a separate key for the new computer I got soon after applying for the key that isn't working? That is, are the Google keys tied to one specific machine?

No. Did you give your credit card details to Google?

Didier


 

Alan Sponberg
United States
Local time: 19:54
German to English
TOPIC STARTER
Problem Solved: I had entered the wrong key Mar 13, 2016

Didier,

Thanks for your helpful suggestions. I did give Google my payment details on first setting up my account up. What confused both me and Google is that there is an option somewhere in their maze of account set-up pages where one can request a second key. I had done that, but then stupidly neglected to change what I had previously entered in the OmegaT settings. One can then use the same key on more than one machine.

One good thing about making that mistake, however, was that on my return to Google site, I learned that they are currently offering a free initial $300 credit for all their developer tools.


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


Machine Translations API Keys in OmegaT 3.5.3

Advanced search






Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »
SDL Trados Studio 2017 only €435 / $519
Get the cheapest prices for SDL Trados Studio 2017 on ProZ.com

Join this translator’s group buy brought to you by ProZ.com and buy SDL Trados Studio 2017 Freelance for only €435 / $519 / £345 / ¥63000 You will also receive FREE access to Studio 2019 when released.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search