Hi,

Has Esperanto translation been disabled in the webservice? I can get it to
work on the website but in an XMLRPC call I get a fault string saying "Not
supported pair" when I translate either way between English/Spanish and
Esperanto. With French I don't get the error however the text just comes
back untranslated.

Here's an example of XML being sent and received:

<methodCall>
  <methodName>service.translate</methodName>
  <params>
    <param>
      <value>
        <string>saluton kiel vi fartas?</string>
      </value>
    </param>
    <param>
      <value>
        <string>txt</string>
      </value>
    </param>
    <param>
      <value>
        <string>eo</string>
      </value>
    </param>
    <param>
      <value>
        <string>en</string>
      </value>
    </param>
    <param>
      <value>
        <string>0XC9GwE5teKUypKHVcitfG27WhU</string>
      </value>
    </param>
  </params>
</methodCall>


<methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions
">
  <fault>
    <value>
      <struct>
        <member>
          <name>faultCode</name>
          <value>
            <i4>451</i4>
          </value>
        </member>
        <member>
          <name>faultString</name>
          <value>Not supported pair</value>
        </member>
      </struct>
    </value>
  </fault>
</methodResponse>


Thanks in advance,
Tom
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to