Functions

tr.php File Reference

Functions

 tr ($str, $comment="")
 translate ($context, $str, $comment="")
 xq ($str)

Function Documentation

tr ( $  str,
$  comment = "" 
)

tr() assumes the context is set with a C++ class statement (won't find any here) or with a special comment, please include / * TRANSLATOR php:: * / in all files using it

translate ( $  context,
$  str,
$  comment = "" 
)

translate() also takes a context

xq ( $  str  ) 

XML translation: & -> &, < -> < etc.pp.