DonkeyMails.com: No Minimum Payout

Selasa, 24 Februari 2009

Translate Bermasalah

Translate BermasalahKemarin saya menyarankan untuk memperbaiki Google Translate milik aaLiL, tetapi dia tidak tahu caranya, untuk itulah posting ini saya buat untuk memberitahu cara memperbaiki google translate yang bermasalah. Sebelumnya, google translate ini adalah buatan kang Rohman, jadi jika ingin google translate ini silahkan masuk ke website-nya kang Rohman.

Langsung ke intinya saja. Sebelum di-modifikasi, html java scriptnya adalah seperti ini :


<style>

.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>

<div>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzVD_xnQYMbiox2UfdEEBHSXpqM5GYQ9LOrbxy4Qris7WkIWH8CtIZk9sQjNT45SfnCVCJxtKR5HgW-mqw1nmwhSfw1QUqCKDoIsMk4HjRV9urPiGrGwwmUBaJlbcWwK7HyPcy8F27gK0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnk31N6cR_Ujm_JJ_v7SdqDxJ0Hgdy6d_rWx9WjlkKk8oyrHsuTId5BFwp51Lmg0-rff0dhBF5QJg1Cm-kg31FZ_DMpFdK-P7v4Fwksh7b1FUbOcIqkDqAA3skym9-Vx9Hh6MeZrS9RnU/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjapMWhY10GuCqqgfMSRfgP9pcexGx7JEyoYE9a1JkTWqxvP9Uid9bVBJ_FSrQcLg60dACQZ2iyIpP6-PpU5oxmaX4MyKqgK7PWawjye88QxeTaOUTcOfXN3pTV1Xb46Zzniao-NYnoInnD/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2-vt3DAkQjxztq7otCf6CMo3HwK3A3mWaObOd_QqNdTzkOJMgz_7wdyj2rXigBO4xP3uklrLb4pEF3CeVzpEv_TS_dfmMt33LVob-dOQLACudMZOlWWJ9EQPV0pJJN4njnLch6r9xfgMG/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKcdNRT6O3reNGPhErAqGpfgFb_3moACmiCpOzdKWG82NuUHjtD_TOGr1wbnLb2MjLnl7hvLsWSLV-apbxzKoAAZ2AHb2qurlW7ycAdbfdwXFouIsk-SNYJXexqviL69IsGkg4dy1Kssw/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFB1-zz_OjnV9UdRtqa9UlaDX31qjRGZiH-zKvPfs9PaSIGobEQ4g9lDjotn-YmRYX3Kd6qKpbS-4k_Nmgre9_Xopkkwx1D4Yw-yNL7Vnmf4MIDGCrLYEfHPlGtTUPo0TAOAVG9Bj9AV4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<br/>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHiNaL11vhp1HdQOfoJcLcQO-QaUXPwwBrToNNbEHQYIlDdohTNGJAop02vMzXWpA4EPPJ7ShSDxIYgi-gQw9kwsPmn_NvIBFyFis_KYJtUWRj6-RnYciRFnTYeW2t7mhpb4LnyDmSDpI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAZC-fEF37DC8DYtY0LyPBTL5B_3SniFLabr2TlmAgq2P1IZpYPIjCOPNzgguUseNWg0m0zMqPAVBdNuQjiuRagsEM31jaTS0IglNBlFm_93CsHEcQs7uUgXszi5PfEyhyO_RMar_wSwU/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXFvgvEzg89iL10vnFMSl88sfjIfjmTwOhiX7SJq4hMcD-Rye3nQ7nTJ0-LmvdXkQw_AjQD67nv1G3B4OIydK1gQhqUrYL3TIestqFqlgFgp5mhdW8tDjVO_AJgPUip5_fuxTedfzLABG1/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.oogle.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNn6aCsMiRAg2Insv9fdrO6tmYxwvHFncalZTWiRI3cdL3H5xpdcmH1bKr0SvbE_6Zeo0KUhqmUTllbCuCt685C8YOLOt72owsQuVEGzQhjwTSHZAQ_ZWlLHigXNSiXeO7Dd74Z4CApR0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBGotVdHOBfIq8OK4Skv_OBny1dKd9e6jPpaqVUiHy28yDeNjFXVVmbYLHs0vpQrpDT5U7sZXlgsYn81JCDn9K8xRdEG6yEezgsTIoClszxvFCwZLcQU7wp4wVrl7RWwr75sOB5X82Bws/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ptjbewCAf9SDw-SgQNBDZB91u4JZGUSIEbBEJcywprxLRfbRhsAxj6Gi7r6MoC1w1bKQQ5VDyJyjzes8Xx7FgOyR9e-7EUW0MSEg1PrZhTAUWV3LjoWcCS9yaTvwttQSNxp3lSgCIL0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

</div><div style=�font:10px;margin:10px 0px 3px 0px�>


Tetapi setelah saya modifikasi menjadi seperti ini :

<style>

.google_translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
}
.google_translate:hover img {
filter:alpha(opacity=30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
.google_translatextra:hover img {
filter:alpha(opacity=0.30);
-moz-opacity: 0.30;
opacity: 0.30;
border:0;
}
</style>

<div>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="English" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzVD_xnQYMbiox2UfdEEBHSXpqM5GYQ9LOrbxy4Qris7WkIWH8CtIZk9sQjNT45SfnCVCJxtKR5HgW-mqw1nmwhSfw1QUqCKDoIsMk4HjRV9urPiGrGwwmUBaJlbcWwK7HyPcy8F27gK0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="French" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnk31N6cR_Ujm_JJ_v7SdqDxJ0Hgdy6d_rWx9WjlkKk8oyrHsuTId5BFwp51Lmg0-rff0dhBF5QJg1Cm-kg31FZ_DMpFdK-P7v4Fwksh7b1FUbOcIqkDqAA3skym9-Vx9Hh6MeZrS9RnU/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="German" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjapMWhY10GuCqqgfMSRfgP9pcexGx7JEyoYE9a1JkTWqxvP9Uid9bVBJ_FSrQcLg60dACQZ2iyIpP6-PpU5oxmaX4MyKqgK7PWawjye88QxeTaOUTcOfXN3pTV1Xb46Zzniao-NYnoInnD/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spain" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2-vt3DAkQjxztq7otCf6CMo3HwK3A3mWaObOd_QqNdTzkOJMgz_7wdyj2rXigBO4xP3uklrLb4pEF3CeVzpEv_TS_dfmMt33LVob-dOQLACudMZOlWWJ9EQPV0pJJN4njnLch6r9xfgMG/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Italian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKcdNRT6O3reNGPhErAqGpfgFb_3moACmiCpOzdKWG82NuUHjtD_TOGr1wbnLb2MjLnl7hvLsWSLV-apbxzKoAAZ2AHb2qurlW7ycAdbfdwXFouIsk-SNYJXexqviL69IsGkg4dy1Kssw/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Dutch" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFB1-zz_OjnV9UdRtqa9UlaDX31qjRGZiH-zKvPfs9PaSIGobEQ4g9lDjotn-YmRYX3Kd6qKpbS-4k_Nmgre9_Xopkkwx1D4Yw-yNL7Vnmf4MIDGCrLYEfHPlGtTUPo0TAOAVG9Bj9AV4/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Arabic" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBGotVdHOBfIq8OK4Skv_OBny1dKd9e6jPpaqVUiHy28yDeNjFXVVmbYLHs0vpQrpDT5U7sZXlgsYn81JCDn9K8xRdEG6yEezgsTIoClszxvFCwZLcQU7wp4wVrl7RWwr75sOB5X82Bws/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese Simplified" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese Simplified" border="0" align="absbottom" title="Chinese Simplified" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ptjbewCAf9SDw-SgQNBDZB91u4JZGUSIEbBEJcywprxLRfbRhsAxj6Gi7r6MoC1w1bKQQ5VDyJyjzes8Xx7FgOyR9e-7EUW0MSEg1PrZhTAUWV3LjoWcCS9yaTvwttQSNxp3lSgCIL0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

<br/>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHiNaL11vhp1HdQOfoJcLcQO-QaUXPwwBrToNNbEHQYIlDdohTNGJAop02vMzXWpA4EPPJ7ShSDxIYgi-gQw9kwsPmn_NvIBFyFis_KYJtUWRj6-RnYciRFnTYeW2t7mhpb4LnyDmSDpI/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Portuguese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAZC-fEF37DC8DYtY0LyPBTL5B_3SniFLabr2TlmAgq2P1IZpYPIjCOPNzgguUseNWg0m0zMqPAVBdNuQjiuRagsEM31jaTS0IglNBlFm_93CsHEcQs7uUgXszi5PfEyhyO_RMar_wSwU/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Japanese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXFvgvEzg89iL10vnFMSl88sfjIfjmTwOhiX7SJq4hMcD-Rye3nQ7nTJ0-LmvdXkQw_AjQD67nv1G3B4OIydK1gQhqUrYL3TIestqFqlgFgp5mhdW8tDjVO_AJgPUip5_fuxTedfzLABG1/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.oogle.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNn6aCsMiRAg2Insv9fdrO6tmYxwvHFncalZTWiRI3cdL3H5xpdcmH1bKr0SvbE_6Zeo0KUhqmUTllbCuCt685C8YOLOt72owsQuVEGzQhjwTSHZAQ_ZWlLHigXNSiXeO7Dd74Z4CApR0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>


</div><div style=�font:10px;margin:10px 0px 3px 0px�>


Jadi, apa yang berbeda? Yang berbeda hanyalah kita memindahkan kode html inti dari translate itu sendiri. Salah satu contohnya adalah kita memindahkan kode ini di atas kode <br/>

<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.oogle.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNn6aCsMiRAg2Insv9fdrO6tmYxwvHFncalZTWiRI3cdL3H5xpdcmH1bKr0SvbE_6Zeo0KUhqmUTllbCuCt685C8YOLOt72owsQuVEGzQhjwTSHZAQ_ZWlLHigXNSiXeO7Dd74Z4CApR0/?imgmax=800" style="cursor: pointer;margin-right:13px" width="24"/></a>

Maka kesimpulannya bahwa kode inti tranlate itu hanya bergantung kepada kode <br/>
jadi kita bisa mengubah translate yang tertinggal di bawah atau di samping dapat kita betulkan sesuai dari lebar sidebar

Mudah-mudahan para kawan ini mengerti inti dari memperbaiki google translate yang bermasalah.

1 komentar:

Sialahkan kawan berkomentar tentang artikelnya...karena komentar kawan sangat berarti bagi blog ini...^_^ salam Blogger