Baca Juga

By. Dedi Yahya S

Pada kesempatan kali ini saya akan memberikan trik dan panduan tentang Cara untuk membuat widget google translate pada blogspot.
Contohnya seperti ini :
Cara Pasang Widget Google Translate pada Blogspot 
  • Login pada Blogger 
  • Setelah berada di Dashbore 
  • Masuk mode Rancangan 
  • Pada Elemen Laman
  • Pilih Tambah Gadget
  • Pilih HTML/Javascript
  • Masukan kode berikut.
Untuk Google Translate 2 baris, gunakan kode ini.

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}
.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}
</style>


<div style="text-align:center">
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkgolosKodYA_Yftz_mFelATecBw9IErYtwpc3F3UHRFwzb-FNcopBRCLiktkpb9uJONlP1eIAymSIjXI09s-nIVWMrYpHyTs_FmFRrg9sc7c7wI3DF1F6JrUKBlxv4tYtysEqSIkttI9F/s144/uk-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGaTBaxMQLTtKsFucXr4we-LwpfUblNlSdPXJmgqD010kMM5aqA85-u4Sgk7Bt0MxuY4Q7ysmzNVMC8yWk41AmAiHxeWUY-L_yWvymccb_La-WX6U73qtk_oTdl6DML5EUjO6xhQ0-9F4f/s144/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3aUXzhaqY0ifYczysnnsXlhWe3BSuuUJY2YzF25gzJFYjHALZY-gt8u_81OwhGWDO78Dh_MfK4QDLloDfy9GsLXvrAeegfniOCjcxHYPmvFHkKo4b0J4lUCE3SxquYnpxZhJsoKjseuer/s144/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzyDIwML7wTkJXyOHByfv2lpiZl2pwsKuZEvG3O2hkiyIawVIRdMI_sVTXAiTAmcFmfn_Y2qjn7pN9RmFLcHtWBRYZfhfPKX1KyOg8Mx8alMHU3OxkjKgyH5Z3hZsLN5DrBoBvrfXXSftS/s144/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsNULHcdDE1az5e_ha6iGH6YJkxroIoaZhjnkGkZXrrkz6wJFWJ4SuJAprqVk7li3sZb_1RbaL0CYY_xMQPY50nfeTOAXfYN1mi_trkTzmMGYq9MmBhxWGOoH1uGdi-wEh5S7Ooe0a-JI7/s144/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXspMovkTDYqw1l3gLHHlDcGZDgw7P0LqWpMwmzalHYgPQP0pxg0qU3K9J3GJnMLcwvJ7kCPC1QUXiHKjAtxrgrC78MFyh2N7ePOjPUv_xuwFST-DuxJKeYAJFB5FOoxbKFHgwVO6-rFAu/s144/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhni86rlQHuvc8sBK-0wAQCO2sUB7LscJq6ODpjcM0g0iK8ZTnB4MqSN9NkWZ68WIuLWtJ4XHkcqb8BOdP9g4MSNER52MwLAtrF6doGoL1bVaRP6z7tHr0v9B_B7uI_h0U_QgAQt68bZZDk/s144/russian-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="translate" href="#" target="_blank" rel="nofollow" title="Brazil" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazil" border="0" align="absbottom" title="Brazilian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbMpkmmBH1LAEdda9qRZKNeynH9GeH1X_n7yZmhLl9TJzJpJ6CPeb_f57rs16KVbBmb1xpwZH-69aQEupY_tWzk_JO2Y1sjp0SAI5lMRsaDf9wJVImFcYGk9LFuNABUFTg1ezsMgWvyJWc/s144/brazil-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9V3q71fXPl5BFDIUAOzDcaNOo51IFyBxmq3DhCgNVy3Fu6lPs0bVYGXliZTsUdeN2bShCY6psxFgtRhHeQinhgIjc_O93B0Izjcf0iZbAndx-LZxShFUzRuuPSrUvHaIsKvWu61nhBHv/s144/japan-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


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


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixP6ntCA-MpnQmcswsPaH2YW2IWBGDO6maE1s6-ILbK62uQHGo1vuFj4Y_NPWaKGsAV-xMQqleR7aTu6G4QEBvZe1uwmXQaJnYWTtMkM2JqX1M93pl5_TUsbTNBsSsuwwMgfCtdBT1amAO/s144/arab-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitDUE_mO1_suoyWgdtzNB3LFP904RAwAmLza0Xl7E-RBEiwQireTKQfJrboZBj_iUkynGpuSKLmXAevgEVTINQF0vcCoPT1Isj9AscGKRHDdwW1l6yviElQlSD0QqQ0IHpsoE62T8qLaMk/s144/china-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<div style="font-size:9px; padding:8px 0px 0px 0px">
<a href="http://blogtutorials-01.blogspot.com/2012/04/cara-pasang-widget-google-translate.html" target="_blank">Translate Widget</a> by Google
</div></div>


Untuk Google Translate 3 baris, gunakan kode ini.

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}
.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}
</style>


<div style="text-align:center">
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkgolosKodYA_Yftz_mFelATecBw9IErYtwpc3F3UHRFwzb-FNcopBRCLiktkpb9uJONlP1eIAymSIjXI09s-nIVWMrYpHyTs_FmFRrg9sc7c7wI3DF1F6JrUKBlxv4tYtysEqSIkttI9F/s144/uk-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGaTBaxMQLTtKsFucXr4we-LwpfUblNlSdPXJmgqD010kMM5aqA85-u4Sgk7Bt0MxuY4Q7ysmzNVMC8yWk41AmAiHxeWUY-L_yWvymccb_La-WX6U73qtk_oTdl6DML5EUjO6xhQ0-9F4f/s144/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3aUXzhaqY0ifYczysnnsXlhWe3BSuuUJY2YzF25gzJFYjHALZY-gt8u_81OwhGWDO78Dh_MfK4QDLloDfy9GsLXvrAeegfniOCjcxHYPmvFHkKo4b0J4lUCE3SxquYnpxZhJsoKjseuer/s144/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzyDIwML7wTkJXyOHByfv2lpiZl2pwsKuZEvG3O2hkiyIawVIRdMI_sVTXAiTAmcFmfn_Y2qjn7pN9RmFLcHtWBRYZfhfPKX1KyOg8Mx8alMHU3OxkjKgyH5Z3hZsLN5DrBoBvrfXXSftS/s144/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsNULHcdDE1az5e_ha6iGH6YJkxroIoaZhjnkGkZXrrkz6wJFWJ4SuJAprqVk7li3sZb_1RbaL0CYY_xMQPY50nfeTOAXfYN1mi_trkTzmMGYq9MmBhxWGOoH1uGdi-wEh5S7Ooe0a-JI7/s144/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXspMovkTDYqw1l3gLHHlDcGZDgw7P0LqWpMwmzalHYgPQP0pxg0qU3K9J3GJnMLcwvJ7kCPC1QUXiHKjAtxrgrC78MFyh2N7ePOjPUv_xuwFST-DuxJKeYAJFB5FOoxbKFHgwVO6-rFAu/s144/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhni86rlQHuvc8sBK-0wAQCO2sUB7LscJq6ODpjcM0g0iK8ZTnB4MqSN9NkWZ68WIuLWtJ4XHkcqb8BOdP9g4MSNER52MwLAtrF6doGoL1bVaRP6z7tHr0v9B_B7uI_h0U_QgAQt68bZZDk/s144/russian-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="translate" href="#" target="_blank" rel="nofollow" title="Brazil" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazil" border="0" align="absbottom" title="Brazilian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbMpkmmBH1LAEdda9qRZKNeynH9GeH1X_n7yZmhLl9TJzJpJ6CPeb_f57rs16KVbBmb1xpwZH-69aQEupY_tWzk_JO2Y1sjp0SAI5lMRsaDf9wJVImFcYGk9LFuNABUFTg1ezsMgWvyJWc/s144/brazil-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-9V3q71fXPl5BFDIUAOzDcaNOo51IFyBxmq3DhCgNVy3Fu6lPs0bVYGXliZTsUdeN2bShCY6psxFgtRhHeQinhgIjc_O93B0Izjcf0iZbAndx-LZxShFUzRuuPSrUvHaIsKvWu61nhBHv/s144/japan-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


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


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixP6ntCA-MpnQmcswsPaH2YW2IWBGDO6maE1s6-ILbK62uQHGo1vuFj4Y_NPWaKGsAV-xMQqleR7aTu6G4QEBvZe1uwmXQaJnYWTtMkM2JqX1M93pl5_TUsbTNBsSsuwwMgfCtdBT1amAO/s144/arab-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<a class="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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitDUE_mO1_suoyWgdtzNB3LFP904RAwAmLza0Xl7E-RBEiwQireTKQfJrboZBj_iUkynGpuSKLmXAevgEVTINQF0vcCoPT1Isj9AscGKRHDdwW1l6yviElQlSD0QqQ0IHpsoE62T8qLaMk/s144/china-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>


<div style="font-size:9px; padding:8px 0px 0px 0px">
<a href="http://blogtutorials-01.blogspot.com/2012/04/cara-pasang-widget-google-translate.html" target="_blank">Translate Widget</a> by Google
</div></div>

  • Jika sudah, Simpan
Jika anda merasa letaknya kurang pas dengan kolom sidebar anda. Anda bisa menyesuaikan jaraknya dengan mengganti nilai 0 pada padding-left. Semakin tinggi nilainya semakin lebar jaraknya. Dan jika anda ingin mengganti icon benderanya dengan icon lain. Silahkan ganti tulisan bewarna merah dengan alamat url icon anda.
Demikian blogger tutorial mengenai Cara Pasang Gadget Google Translate Di Blogspot.


Semoga bermanfaat dan semoga berhasil
Terima Kasih ^_^