To translate from English to Italian :

$var = new translate("en","it");
echo $var->get("hello mister");

output: ciao signore

http://www.phpclasses.org/browse/package/8072.html?download=zip

Advertisements