pwalkerj Posted October 24, 2006 Share Posted October 24, 2006 Does anyone have any suggestions on how I can get my google translation process to work trying to gofromhttp://64.233.179.104/translate?&langpair=en%7Ces&u=http://www.urantiari.org/index.htmtohttp://64.233.179.104/translate_c?&langpair=en%7Ces&u=http://www.urantiari.org/index.htmall in one click seemlessly behind the scenes so that users won't know what happened. This would remove the google _top frame and give my website a cleaner look. The first URL above does the translation engine, and the second will not, therefore I have to do the redirect to get rid of the _top frame.I have another person's code on the website now and it works pretty good, but I would rather do my process because the translation engine drills down farther.. if only I can just pull off the automatic url redirect when a user clicks on the <a href... link.Here's what I have so far that works fine but without the redirect capability. thanks for your help, if you can!-Peter_________________________________ <?php $source = "http://64.233.179.104/translate?&langpair=en%7C"; // $redirect = "http://64.233.179.104/translate_c?&langpair=en%7C"; $domain = "&u=http://www.urantiari.org"; $uri = $_SERVER['PHP_SELF']; $de = "de"; $es = "es"; $fr = "fr"; $it = "it"; $nl = "nl"; $pt = "pt"; $ru = "ru"; $ar = "ar"; $zh = "zh"; $zt = "zt"; $ja = "ja"; $ko = "ko"; echo "<a href=http://mail.yahoo.com/config/login?/'$source$de$domain$uri'>Deutsch</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$es$domain$uri'>Español</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$fr$domain$uri'>Français</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$it$domain$uri'>Italiano</a> "; // echo "<a href=http://mail.yahoo.com/config/login?/'$source$nl$domain$uri'>Nederlands</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$pt$domain$uri'>Português</a> "; // echo "<a href=http://mail.yahoo.com/config/login?/'$source$ru$domain$uri'>Русско</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$ar$domain$uri'>[أربيك]</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$zh$domain$uri'>汉语</a> "; // echo "<a href=http://mail.yahoo.com/config/login?/'$source$zt$domain$uri'>漢語</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$ja$domain$uri'>日本語</a> "; echo "<a href=http://mail.yahoo.com/config/login?/'$source$ko$domain$uri'>한국어</a> "; ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.