Topic on Extension talk:Live Translate

Does the extension support Google Translate API v2?

7
91.198.201.28 (talkcontribs)

According to Google FAQ, they discontinued Translate API v1 on 1st of December 2011 and replaced it with Translate API v2. Does Live Translate extension support this v2? I use Live Translate 1.2.3 alpha and MediaWiki 1.19, and cannot make the Google translation work, albeit words from local translation memories are being translated fine.

Jeroen De Dauw (talkcontribs)

IIRC the latest version is using v2 of the API.

91.198.201.28 (talkcontribs)

Can anyone confirm that he has a working instance of Live Translate with Google API as of 3rd of August 2012? I've been trying to make the extension work for some time now, but no matter how carefully I follow the instructions, it won't be able produce any automated translation of any word that is not in the translation memory. Now I want to rule out that there have been any changes in the Google API infrastructure, and to confirm that the problem is in what I am doing.

I've tried to test some pieces of the JavaScript code of the extension, and found out that e.g. google.language.translate("Hello world!", "en", "de",callbackResult) responds with a JSON object {"status":{"code":403,"message":"Please use Translate v2. See http://code.google.com/apis/language/translate/overview.html"},"error":{"code":403,"message":"Please use Translate v2. See http://code.google.com/apis/language/translate/overview.html"},"translation":""}.

Eraeshaes (talkcontribs)

I've wrote a JavaScript module that uses Google API v2 and emulates the behaviour of Google API v1. The extension works now with Google API v2. How do I submit my code?

Reply to "Does the extension support Google Translate API v2?"