Hi together,
I'm trying to use the MediaWiki Language Extension Bundle with Mediawiki 1.21.1 with Translate (Version MLEB 2013.09). All works fine but not the Translation Services of Microsoft or Yandex. For Yandex I use following settings:
$wgTranslateTranslationServices['Yandex'] = array( 'url' => 'https://translate.yandex.net/api/v1.5/tr.json/translate', 'key' => 'rca.1.1..my key...', 'pairs' => 'https://translate.yandex.net/api/v1.5/tr.json/getLangs', 'timeout' => 3, 'langorder' => array( 'en', 'de' ), 'langlimit' => 1, 'type' => 'yandex', );
When I translate a section I get no suggestions. In the log files (messages,access_log,error_log) is no hint for the problem. And with netstat I can see that there is no connection to the Yandex server.
Have you an idea how to troubleshoot?
-- Thank you,
Hans-Walter
Hi Simon,
Thanks for the question.
Can you please try enabling translation services log with $wgDebugLogGroups['translationservices'] = '/some/file';
See if any errors come up there.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
2013/11/26 Simon, Hans-Walter (Hans-Walter) hsimon@avaya.com
Hi together,
I'm trying to use the MediaWiki Language Extension Bundle with Mediawiki 1.21.1 with Translate (Version MLEB 2013.09). All works fine but not the Translation Services of Microsoft or Yandex. For Yandex I use following settings:
$wgTranslateTranslationServices['Yandex'] = array( 'url' => 'https://translate.yandex.net/api/v1.5/tr.json/translate ', 'key' => 'rca.1.1..my key...', 'pairs' => 'https://translate.yandex.net/api/v1.5/tr.json/getLangs ', 'timeout' => 3, 'langorder' => array( 'en', 'de' ), 'langlimit' => 1, 'type' => 'yandex', );
When I translate a section I get no suggestions. In the log files (messages,access_log,error_log) is no hint for the problem. And with netstat I can see that there is no connection to the Yandex server.
Have you an idea how to troubleshoot?
-- Thank you,
Hans-Walter
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hi Amir,
thank you for answer.
I get this messages: 2013-11-26 18:02:14 xx0703080194 wikidb: Translation service Yandex problem: Malformed reply from remote server: 2013-11-26 18:02:14 xx070308019 wikidb: Translation service Yandex still suspended
Hans-Walter
-----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Amir E. Aharoni Gesendet: Dienstag, 26. November 2013 18:28 An: MediaWiki announcements and site admin list Betreff: Re: [MediaWiki-l] Translation Services do not start
Hi Simon,
Thanks for the question.
Can you please try enabling translation services log with $wgDebugLogGroups['translationservices'] = '/some/file';
See if any errors come up there.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
2013/11/26 Simon, Hans-Walter (Hans-Walter) hsimon@avaya.com
Hi together,
I'm trying to use the MediaWiki Language Extension Bundle with Mediawiki 1.21.1 with Translate (Version MLEB 2013.09). All works fine but not the Translation Services of Microsoft or Yandex. For Yandex I use following settings:
$wgTranslateTranslationServices['Yandex'] = array( 'url' => 'https://translate.yandex.net/api/v1.5/tr.json/translate ', 'key' => 'rca.1.1..my key...', 'pairs' => 'https://translate.yandex.net/api/v1.5/tr.json/getLangs ', 'timeout' => 3, 'langorder' => array( 'en', 'de' ), 'langlimit' => 1, 'type' => 'yandex', );
When I translate a section I get no suggestions. In the log files (messages,access_log,error_log) is no hint for the problem. And with netstat I can see that there is no connection to the Yandex server.
Have you an idea how to troubleshoot?
-- Thank you,
Hans-Walter
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org