Sách JavaScript/Trình ứng dụng/Trình Dịch Google
Giao diện
chhkm
Trình Dịch Google
[sửa]Mả nguồn HTML tìm Google
<!--Google Translate -->
<form style="margin: 0;" action="https://translate.google.com/" name=text_form method=post enctype="application/x-www-form-urlencoded">
<table class=navform border=0 cellpadding=0 cellspacing=0 style="font-size: 12px;"><tr valign=middle align=center>
<td>
<input type=hidden name=js value=n id=js>
<input type=hidden name=prev value="_t" id=prev>
<input type=hidden name=hl value="en" id=hl>
<input type=hidden name=ie value="UTF-8">
<input type=hidden name=layout value="2">
<input type=hidden name=eotf value="1">
</td>
<td align=left>
<input type=text name=text size="52" class="newsSmall" value=" text or web address" onFocus="this.value=''">
</td>
<td>
from:
<select class="newsSmall" name=sl>
<option value=auto>detect lang.</option><option value=separator disabled>—</option>
<option value="af">Afrikaans</option>
<option value="sq">Albanian</option>
<option value="ar">Arabic</option><option value="hy">Armenian</option>
<option value="az">Azerbaijani</option><option value="eu">Basque</option>
<option value="be">Belarusian</option><option value="bg">Bulgarian</option>
<option value="ca">Catalan</option><option value="zh-CN">Chinese</option>
<option value="hr">Croatian</option><option value="cs">Czech</option>
<option value="da">Danish</option><option value="nl">Dutch</option>
<option value="en">English</option><option value="et">Estonian</option>
<option value="tl">Filipino</option><option value="fi">Finnish</option>
<option value="fr">French</option><option value="gl">Galician</option>
<option value="ka">Georgian</option><option value="de">German</option>
<option value="el">Greek</option><option value="ht">Haitian Creole</option>
<option value="iw">Hebrew</option><option value="hi">Hindi</option>
<option value="hu">Hungarian</option><option value="is">Icelandic</option>
<option value="id">Indonesian</option><option value="ga">Irish</option>
<option value="it">Italian</option><option value="ja">Japanese</option>
<option value="ko">Korean</option>
<option value="lv">Latvian</option>
<option value="lt">Lithuanian</option>
<option value="mk">Macedonian</option>
<option value="ms">Malay</option>
<option value="mt">Maltese</option>
<option value="no">Norwegian</option>
<option value="fa">Persian</option>
<option value="pl">Polish</option>
<option value="pt">Portuguese</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option>
<option value="sr">Serbian</option>
<option value="sk">Slovak</option>
<option value="sl">Slovenian</option>
<option value="es">Spanish</option>
<option value="sw">Swahili</option>
<option value="sv">Swedish</option>
<option value="th">Thai</option>
<option value="tr">Turkish</option>
<option value="uk">Ukrainian</option>
<option value="ur">Urdu</option>
<option value="vi">Vietnamese</option>
<option value="cy">Welsh</option>
<option value="yi">Yiddish</option>
</select>
</td>
<td>
to:
<select class="newsSmall" name=tl><option SELECTED value="en">English</option><option value=separator disabled>—</option><option value="af">Afrikaans</option><option value="sq">Albanian</option><option value="ar">Arabic</option><option value="hy">Armenian</option><option value="az">Azerbaijani</option><option value="eu">Basque</option><option value="be">Belarusian</option><option value="bg">Bulgarian</option><option value="ca">Catalan</option><option value="zh-CN">Chinese (Simp.)</option><option value="zh-TW">Chinese (Trad.)</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en">English</option>
<option value="et">Estonian</option>
<option value="tl">Filipino</option><option value="fi">Finnish</option>
<option value="fr">French</option>
<option value="gl">Galician</option><option value="ka">Georgian</option>
<option value="de">German</option>
<option value="el">Greek</option><option value="ht">Haitian Creole</option>
<option value="iw">Hebrew</option>
<option value="hi">Hindi</option><option value="hu">Hungarian</option>
<option value="is">Icelandic</option>
<option value="id">Indonesian</option><option value="ga">Irish</option>
<option value="it">Italian</option>
<option value="ja">Japanese</option><option value="ko">Korean</option>
<option value="lv">Latvian</option>
<option value="lt">Lithuanian</option><option value="mk">Macedonian</option>
<option value="ms">Malay</option>
<option value="mt">Maltese</option><option value="no">Norwegian</option>
<option value="fa">Persian</option>
<option value="pl">Polish</option><option value="pt">Portuguese</option>
<option value="ro">Romanian</option>
<option value="ru">Russian</option><option value="sr">Serbian</option>
<option value="sk">Slovak</option><option value="sl">Slovenian</option>
<option value="es">Spanish</option>
<option value="sw">Swahili</option>
<option value="sv">Swedish</option><option value="th">Thai</option>
<option value="tr">Turkish</option>
<option value="uk">Ukrainian</option><option value="ur">Urdu</option>
<option value="vi">Vietnamese</option>
<option value="cy">Welsh</option><option value="yi">Yiddish</option>
</select>
</td>
<td>
<input type="submit" style="width: 58px;" value="translate" class="searchSmall" onmouseover="this.style.backgroundColor='#FF7777';this.style.cursor='hand';" onmouseout="this.style.backgroundColor='#99CCFF';">
</td>
</tr></table>
</form>
<p>
<!--Google-->