Hi,

after giving up to get the Yandex service to run I have tried microsoft. Now I 
get more error messeages. But don't know how to fix.

2013-11-27 16:39:44 xx0703080194 wikidb: Translation service Microsoft problem: 
Http::get failed:s:250:"<html><body><h1>Argument Exception</h1><p>Method: 
GetLanguagesForTranslate()</p><p>Parameter: appId</p><p>Message: Invalid 
appId&#xD;
Parameter name: appId</p><code></code><p>message 
id=0934.V2_Rest.GetLanguagesForTranslate.3F5CDD36</p></body></html>";O:6:"Status":7:{s:2:"ok";b:0;s:5:"value";i:100;s:12:"successCount";i:0;s:9:"failCount";i:0;s:7:"success";a:0:{}s:6:"errors";a:1:{i:0;a:3:{s:4:"type";s:5:"error";s:7:"message";s:15:"http-bad-status";s:6:"params";a:2:{i:0;s:3:"400";i:1;s:11:"Bad
 Request";}}}s:13:"cleanCallback";b:0;} 

I use these parameters for the service:

$wgTranslateTranslationServices['Microsoft'] = array( 
        'url' => 'http://api.microsofttranslator.com/V2/Http.svc/Translate',
        'key' => '',
        'timeout' => 3,
        'type' => 'microsoft',
        'public' => true,
        'clientid' => 'Client-Id I use',
        'clientSecret' => 'some long string from the Windows Azure Marketplace 
which is called Client-Secret',
);

What is wrong with my setup?

Thanks,
Hans-Walter

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to