Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
Namespaces | Variables
trans.php File Reference

Get a translation from Web Dictionary. More...

Namespaces

namespace  Lwt
 

Variables

 $x = $_REQUEST["x"]
 
 $i = $_REQUEST["i"]
 
 $t = $_REQUEST["t"]
 
 $satz = null
 
 $trans = null
 

Detailed Description

Get a translation from Web Dictionary.

Call 1: trans.php?x=1&t=[textid]&i=[textpos] GTr translates sentence in Text t, Pos i Call 2: trans.php?x=2&t=[text]&i=[dictURI] translates text t with dict via dict-url i