Kamis, 14 Maret 2013

Membuat Kamus Translasi Sendiri

Caranya Copy html berikut ini trus buka note pad,trus paste di dalamnya,terakhir simpan dalam format html nah kan bisa buka kapan aja.kalo ada tugas dari skul dr pd pusing,tempelin aja disitu tingal di jebret,beres.. <html><head><script> (function(){if(!window.google)window.google={};window.google.clir={};var b=window.google.clir;b.langs=[];b.exceptions={};b.langNames={};b.fillTgt=function(){var j=document.getElementById("sl"),d=document.getElementById("tl"),e=j.options[j.selectedIndex].value,c=[],f=b.exceptions[e],g=1;for(var a=0;a<b.langs.length;a++)if(g<f.length&&f[g]===b.langs[a])g++;else c.push(b.langs[a]);var h=d.options.length==c.length;for(var a=0;h&&a<c.length;a++)if(c[a]!=d.options[a].value)h=false;if(!h){d.options.length=0;for(var a= 0;a<c.length;a++){var i=c[a];d.options[a]=new Option(b.langNames[i],i);if(i===f[0])d.options[a].selected=true}}document.getElementById("q").dir=e=="ar"||e=="iw"?"rtl":"ltr"}; window.google.clir.langs=['ar','bg','ca','zh-CN','zh-TW','hr','cs','da','nl','en','tl','fi','fr','de','el','iw','hi','id','it','ja','ko','lv','lt','no','pl','pt','ro','ru','sr','sk','sl','es','sv','uk','vi'];var a=window.google.clir.exceptions;a['en']=['es','en'];a['da']=['en','da'];a['nl']=['en','nl'];a['fi']=['en','fi'];a['fr']=['en','fr'];a['de']=['en','de'];a['iw']=['en','iw'];a['it']=['en','it'];a['ja']=['en','ja'];a['ko']=['en','ko'];a['no']=['en','no'];a['pl']=['en','pl'];a['pt']=['en','pt'];a['ru']=['en','ru'];a['es']=['en','es'];a['sv']=['en','sv'];a['zh-CN']=['en','zh-CN'];a['cs']=['en','cs'];a['el']=['en','el'];a['lv']=['en','lv'];a['lt']=['en','lt'];a['ro']=['en','ro'];a['bg']=['en','bg'];a['hr']=['en','hr'];a['sr']=['en','sr'];a['tl']=['en','tl'];a['uk']=['en','uk'];a['hi']=['en','hi'];a['id']=['en','id'];a['ar']=['en','ar'];a['ca']=['en','ca'];a['sl']=['en','sl'];a['vi']=['en','vi'];a['sk']=['en','sk'];a['zh-TW']=['en','zh-TW'];var n=window.google.clir.langNames;n['ar']='Arabic';n['bg']='Bulgarian';n['ca']='Catalan';n['zh-CN']='Chinese(Simplified)';n['zh-TW']='Chinese(Traditional)';n['hr']='Croatian';n['cs']='Czech';n['da']='Danish';n['nl']='Dutch';n['en']='English';n['tl']='Filipino';n['fi']='Finnish';n['fr']='French';n['de']='German';n['el']='Greek';n['iw']='Hebrew';n['hi']='Hindi';n['id']='Indonesian';n['it']='Italian';n['ja']='Japanese';n['ko']='Korean';n['lv']='Latvian';n['lt']='Lithuanian';n['no']='Norwegian';n['pl']='Polish';n['pt']='Portuguese';n['ro']='Romanian';n['ru']='Russian';n['sr']='Serbian';n['sk']='Slovak';n['sl']='Slovenian';n['es']='Spanish';n['sv']='Swedish';n['uk']='Ukrainian';n['vi']='Vietnamese';})();</script> </head> <body onload="window.google.clir.fillTgt();"> <h4>Translate text</h4> <form action="http://translate.google.com/translate_t" method=post id=text_form onsubmit="this.action='http://translate.google.com/translate_t?langpair='+this.langpair.value;"><input name=hl value="en" type=hidden><input name=ie value="ISO-8859-1" type=hidden><table id=texttable><tr valign=top><td id=sourcecell><textarea name=text rows=7 wrap=PHYSICAL id=source></textarea></td><td id=gap>&nbsp;</td><td class=almost_half_cell valign=middle></td></tr><tr><td id=submitcell><select name=sl style='width:auto'><option value="ar">Arabic</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="tl">Filipino</option><option value="fi">Finnish</option><option value="fr">French</option><option value="de">German</option><option value="el">Greek</option><option value="iw">Hebrew</option><option value="hi">Hindi</option><option value="id"selected>Indonesian</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="no">Norwegian</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="sv">Swedish</option><option value="uk">Ukrainian</option><option value="vi">Vietnamese</option></select> <span style='font-size:1.5em;vertical-align:-1px;'>&raquo;</span> <select name=tl style='width:auto'><option value="ar">Arabic</option><option value="bg">Bulgarian</option><option value="ca">Catalan</option><option value="zh-CN">Chinese (Simplified)</option><option value="zh-TW">Chinese (Traditional)</option><option value="hr">Croatian</option><option value="cs">Czech</option><option value="da">Danish</option><option value="nl">Dutch</option><option value="en" selected>English</option><option value="tl">Filipino</option><option value="fi">Finnish</option><option value="fr">French</option><option value="de">German</option><option value="el">Greek</option><option value="iw">Hebrew</option><option value="hi">Hindi</option><option value="id">Indonesian</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="no">Norwegian</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="sv">Swedish</option><option value="uk">Ukrainian</option><option value="vi">Vietnamese</option></select><input value="Translate" type=submit></td></tr></table></form> <p>Widget by: <a href="http://oce-modifblog.blogspot.com">modifikasi blog</a></p> </html>
Bisa juga di letakan di situs kamu, tinggal ikuti aja pada page head letakan sama seperti itu begitu pula pada body..ngerti kan maksudnya? Nah sekarang aku mau minta maaf sama pakde gugel,udah ngehack kamusnya.. Jika ingin di letakan di blog anda letakan di element halaman tinggal hapus tag html dan body dan ikuti yang diletakan pada head

0 komentar:

Posting Komentar