Jump to content

Topic on Extension talk:Live Translate/Flow

Local translation memory OK, machine translation doesn't work.

1
91.198.201.28 (talkcontribs)

I've created a new Google project and got a new API key for browser applications. I've installed the Live Translate extension and the settings in LocalSettings.php are following:

require_once( "$IP/extensions/LiveTranslate/LiveTranslate.php" );
$egLiveTranslateLanguages[] = 'nl';
$egLiveTranslateLanguages[] = 'de';
$egLiveTranslateService = LTS_GOOGLE;
$egGoogleApiKey = 'MY-GOOGLE-API-KEY-FOR-BROWSER-APPLICATIONS';

The words from my local translation memory are translated correctly, but the machine translation doesn't seem to work. When I press the "Translate" button, the words from the local translation memory are translated immediately, but the button remains "Translated..." for some time (up to a minute), and nothing happens. The statistics from the Google APIs Console doesn't indicate any translation requests. It seems that the extension does not reach the Google Translate API at all. I have double-checked, and the API key for browser applications is correct. What can be the reason?

Remark: When I use the version 1.2 and above, no "Translate" button appears anywhere, so I have to use 1.1.1. I don't know if this has anything to do with the problem described above.

Reply to "Local translation memory OK, machine translation doesn't work."