malliris.de

 
Data ProtectionImprint

XML - Interface

You can send your texts for translation to the following URL


https://malliris.de/translationInterface/index.php


via HTTPS POST REQUEST after requesting a query_key from me by e-mail to secure the transfer
or at https://malliris.de/query_key/index.php by creating an account the query key is generated automatically and can be copied into the clipboard.
The query_key must be passed as POST parameter with the parameter name query_key.
The structure of the XML document is shown below and can be validated with the following XSD file

The answer takes place with the same XML file where the target_text element contains the finished translation.

<?xml version="1.0" encoding="utf-8"?>
<query_response>  
  <response_url>htt...</response_url>
  <response_key>ab23</response_key>
  <order>
    <message_id>gc12...</message_id>
    <deadline_date>20190823</deadline_date>
    <deadline_time>2210</deadline_time>    
    <any_hints_for_the_translator>..</any_hints_for_the_translator>    
    <source_lang>de</source_lang>
    <target_lang>el</target_lang>
    <source_text><![CDATA[abcdef]]></source_text>
    <target_text><![CDATA[abcdef]]></target_text>
  </order>
  <!-- next Order -->
</query_response>

Explanations:

/query_response/response_url

String Value, call back URL

/query_response/response_key

key to secure the call back transfer

/query_response/message_id

String value intentifies a unique message-id inside the ordering firm

/query_response/deadline_date

String value format YYYMMDD intentifies the latest delivering day of the translation

/query_response/deadline_time

String value format HHMM intentifies the latest delivering time of the translation

/query_response/source_lang

International abbreviation of the source language

/query_response/target_lang

International abbreviation of the target language

/query_response/source_text

Source text.Can contain html tags, allowed tags <br>,<br />,<b>,</b>,<i>,</i>,<ul>,</ul>,<ol>,</ol>,<li>,</li>,<p>,</p>,<h1>,</h1>,<h2>,</h2>,<h3>,</h3>,<h4>,</h4>,<h5>,</h5>,<h6>,</h6>

/query_response/target_text

The translated text.If the source text contains html tags they wil be positioned by the translator manually in the target text.

The immediate answer from

https://malliris.de/translationInterface/index.php

is the following XML file about the status of the receiving


<?xml version='1.0' encoding='UTF-8'?>
<orders>
<status_xml_valid>true</status_xml_valid>   <!-- String value  possible values:true or false -->
<order>
<message_id>gc12...</message_id>
<status_insert_db>true</status_inserted_db> <!-- String value  possible values:true or false -->
</order>
<!-- next Order -->
</orders>





© 2014 - 2019 malliris.de  



Data Protection  Imprint