Tino Didriksen <[email protected]> writes:
[...] > On 16 June 2014 14:41, Carsten Schmitz > <[email protected]> wrote: > > > Hello Tino, > > i put these three lines in the end of LocaSettings.php > > $wgTranslateTranslationServices['Apertium']['key'] = 'dummykey'; > $wgTranslateTranslationServices['Apertium']['url'] = ' > http://apy.projectjj.com/translate'; > $wgTranslateTranslationServices['Apertium']['pairs'] = ' > http://apy.projectjj.com/listPairs'; > > but no luck. Is there an easy way to debug the API calls? http://wiki.apertium.org/wiki/Apy#Usage shows how you can check the results of API calls with curl, e.g. curl 'http://apy.projectjj.com/translate?langpair=kaz|tat&q=Сен+бардың+ба?' One difference from ScaleMT that might affect things is that APY uses three-letter language codes (ISO-639-3); I have no idea how to debug it in the mediawiki thing though. -- Kevin Brubeck Unhammer GPG: 0x766AC60C
pgpqZqBrHAqfm.pgp
Description: PGP signature
------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems
_______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
