View Single Post
Old 08-16-2009, 10:36 AM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
another idea is just to redirect certain languages to an online translator like babelfish that translates the page you're on
Code:
<?php
$mypage = "www.gfy.com/index.php";
$lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
if ($lang == "de"){
$url = "http://babelfish.yahoo.com/translate_url?doit=done&tt=url&intl=1&fr=bf-home&trurl=http%3A%2F%2F$mypage&lp=en_$lang&btnTrUrl=Translate";
header("Location: $url");
exit;
}

?>
__________________
hatisblack at yahoo.com

Last edited by SmokeyTheBear; 08-16-2009 at 10:40 AM..
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote