Script to Create Own Translator Website






Enjoy our daily articles, we try to bring the best for you, Subscribe to your feed reader by clicking here

Have you ever dreamt about make a site like Google Translate, a translator site owned by Google which supports world’s major language. Here you can paste script from below, save in it HTML or PHP up to you, upload to your server whether localhost / rented hosting. The mechanism behind this is very simple, this site will direct all the request to Google Translate. But with small development, you can manage it better.


<html><head><title>Google Translate</title>
<script language=javascript>
function closewindow()
{
close()
}
</script>
<style>
<!-- #header table td {border-top: 1px solid #36c;padding-right: 4px;} body,td,div,.p,a {font-family:arial,sans-serif;} #pagetitle {font-size:larger} #navlinks {font-size:smaller} #source, input#url {width:100%} form {padding-bottom: 0px;margin-bottom: 0px;padding-top: 0px;margin-top: 0px;} #source {height:100%;overflow:auto} option.line-above {border-top: #DDD solid 1px;margin-top: -1px} table#texttable, table#webtable, table#suggesttable {width:100%} h4 {background-color:#E5ECF9;padding:0.2em;margin-top:1em;margin-bottom:0.5em;padding-left:0.5em;padding-right:0.5em} #texttable table {padding:0px;margin:0px} #texttable table td {padding:0px;margin:0px;} #texttable #submitcell select {width:100%;padding:0px;margin:0px} #texttable #submitcell table {width:100%} #suggestion {width: 100%} #selectcell {width: 100%} #utranscell {width: 100%} #suggestion_form {padding:3px;width:100%} #result_box, #source {font-family:monospace;font-size:10pt} .almost_half_cell {width:49%} #gap {width:2%;height:128px} #original_text, #autotrans {font-size: smaller} #zippyspan {color: #77c;cursor: hand;cursor:pointer;text-decoration: underline;font-size: smaller} #thanks {text-align: center;overflow: hidden;font-weight: bold;font-size: smaller;} .highlight {background-color:#f5f5f5} .footer {border-top:1px solid #ccc;padding-top:1em;margin-top:2.5em;text-align:center;font-size:smaller} // --></style><script src="http://translate.google.com/translate_t.js"></script><style type="text/css"><!--
a:link,.q:visited,.q:link,.q:active{color:#00c}
a:visited{color:#551a8b}
a:active{color:#f00}
.tabbar{background-color:#e5ecf9}
.tab{background-color: #e5ecf9;border-bottom:1px solid #36c;padding:0 1.3em;font-weight:bold;white-space:nowrap;font-family:arial,sans-serif;font-size:83%}
.active{background-color:#fff;color:#000;border:1px solid #36c;border-bottom:1px solid #fff}
.tab_footer{border-top:1px solid #ccc;padding-top:1em;width:98%}
--></style>
<base href="http://translate.google.com/translate_t">
<base target="_blank">
</head>
<body bgcolor=#ffffff text=#000000 link=#0000cc vlink=#551a8b alink=#ff0000 dir=ltr onload="_SetupOnSelect()">
<h4>Translate Text</h4><form action="/translate_t" method=post id="text_form" onsubmit="this.action = '/translate_t?langpair=' + this.langpair.value;"><input type=hidden name=hl value="en"><input type=hidden name=ie value="UTF8"><table id=texttable><tr>
<td id=original_text>Original text:</td></tr><tr valign=top>
<td id=sourcecell width="48%" height="84">
<textarea name=text wrap=SOFT dir="ltr" id=source rows="8" cols="92"></textarea></td>
</tr><tr>
<td id=submitcell width="48%"><table><td id=selectcell>
<select name=langpair size="1">

<option value="ar|en">Arabic to English</option><option value="zh|en" class="line-above">Chinese to English</option><option value="zh-CN|zh-TW">Chinese (Simplified to Traditional)</option><option value="zh-TW|zh-CN">Chinese (Traditional to Simplified)</option><option value="nl|en" class="line-above">Dutch to English</option><option value="en|ar" class="line-above">English to Arabic</option><option value="en|zh-CN">English to Chinese (Simplified)</option><option value="en|zh-TW">English to Chinese (Traditional)</option><option value="en|nl">English to Dutch</option><option value="en|fr">English to French</option>
<option value="en|de" selected>English to German</option><option value="en|el">English to Greek</option><option value="en|it">English to Italian</option><option value="en|ja">English to Japanese</option>
<option value="en|id">English to Indonesia</option>
<option value="en|ko">English to Korean</option><option value="en|pt">English to Portuguese</option><option value="en|ru">English to Russian</option><option value="en|es">English to Spanish</option><option value="fr|en" class="line-above">French to English</option><option value="fr|de">French to German</option><option value="de|en" class="line-above">German to English</option><option value="de|fr">German to French</option><option value="el|en" class="line-above">Greek to English</option><option value="it|en">Italian to English</option>
<option value="id|en">Indonesia to English</option>
<option value="ja|en">Japanese to English</option><option value="ko|en">Korean to English</option><option value="pt|en">Portuguese to English</option><option value="ru|en">Russian to English</option>
<option value="es|en">Spanish to English</option></select></td><td><input type=submit value="Translate" target="_blank" onclick="closewindow()"></td></table></td></tr></table></form>
<br /><a style="font-size:11px;font-family:Tahoma;" href="http://www.speedytown.com/" target="_blank">sPeEdYtOwN</a>
</body></html>



R e l a t e d T e r m s






1  2  3  4  5  6  7  8  9  10  
AT&T Xperia PLAY 4G Mobile Phone - Blue (AT&T)
Your Ad Here

One Response to “to this article”

  1. myspace upload file Says:

    Fantastic information and facts regarding upload files for having myself personally begin. Most definitely i’ll keep this particular website link and come back to this.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>