Hi!
-----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l- bounces@lists.wikimedia.org] Im Auftrag von Simon, Hans-Walter (Hans- Walter) Gesendet: Montag, 2. Dezember 2013 13:38 An: MediaWiki announcements and site admin list Betreff: Re: [MediaWiki-l] Translation Services do not start: now microsoft
Nemo,
thank you for answer.
Are you sure you've given M$ enough gold https://datamarket.azure.com/dataset/bing/microsofttranslator,
I'm using Microsoft Translator Subscription with 2,000,000 Characters/month. And have 1,999,984 remaining.
that you've registered your app and refreshed your tokens and whatnot?
I think I've done.
Registered Applications Client ID Name Description Status s1 TransWiki WIKI Translator Active
Must the wiki be reachable from the internet? I use it as an intranet application with access to the internet.
I'm sorry to say, that I'm still not able to use the Microsoft Translator.
In mwtranslate.log I get the error message:
2013-12-05 09:30:48 localhost wikidb: Translation service Microsoft problem: Http::get failed:s:249:"<html><body><h1>Argument Exception</h1><p>Method: GetLanguagesForTranslate()</p><p>Parameter: appId</p><p>Message: Invalid appId
 Parameter name: appId</p><code></code><p>message id=1035.V2_Rest.GetLanguagesForTranslate.BC0DC5F</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;}
Perhaps there is someone who can assist me to do the right configuration values for the service. Currently I use something like that:
$wgTranslateTranslationServices['Microsoft'] = array( 'url' => 'http://api.microsofttranslator.com/V2/Http.svc/Translate', 'key' => '', 'timeout' => 3, 'type' => 'microsoft', 'public' => false, 'clientid' => 's1', 'clientSecret' => '279T changed by me 34quW1wqw=', );
Thank you for all your help.
Hans-Walter