How can i give a facility of multiple languages in my site
first set the session of language.$_SESSION["lan"]="en';
change the language type must be first set session variable of language....
make one language file and set the variable of each form element,page name,header everythinhg in a variable.at the time of making the page call the varaible insteed of element name.
Example- language cong file
if($_SESSION["lan"] == "en"){
//set the variable
$fName="First Name';
$lName="Last name";
}
else if($_SESSION["lan"] == "cn")
{
//set the variable
$fName="';//Filled by language expert
$lName="";
}
}
when u used the first name use the $fname tag so when u change language so it will take the value config file
Regards,
Sandeep Agarwal