Maybe it could inplemented in PHPLAYER.
I want to make content in two diverent language.
I am looked at the Index.php and its no problem to show one site in other language.
maybe like this
Code: Select all
//$_GET[language] could be a link in the template(flagimage or show in english)
//switch to show other language
if($_GET[language])
{
$site=$_GET[$config["query_var"]];
$lang=$_GET[language];
$pos = strpos ($site, $lang);
if ($pos == false)
{
$page=$_GET[language];
$page.=$_GET[$config["query_var"]];
}
}
else
{
$page.=$_GET[$config["query_var"]];
}
maybe it could do this like params like lang="_EN_"
thanks for help
kris