Cara Pasang Widget Google Translet di Blog | tips Blog kali ini adalah
Cara Pasang Widget Google Translet di Blog sobat, jadi mungkin masih ada yng belum tau
Cara Pasang Widget Google Translet di Blog di blog mereka, maka kali ini saya akan menjelaskan
Cara Pasang Widget Google Translet di Blog.
Sesuai dengan namanya. Widget ini berfungsi untuk menerjemahkan bahasa yang satu ke bahasa yang lain. Dengan memasang widget ini, maka pengunjung yang berasal dari negara lain juga bisa menikmati konten diblog anda. Selain itu, anda juga bisa memanfaatkan widget ini untuk belajar bahasa asing lho. Menarikkan?
Sebenarnya
google translate ini sudah pernah saya bahas pada beberapa waktu yang lalu. Namun karena widget ini sudah mengalami perubahan yaitu menggunakan icon-icon bendera sehingga tampilannya menjadi lebih menarik.
Contohnya seperti ini yang dibuat oleh mad tomatoe
dan ini yang dibuat oleh kang rohman
Oleh sebab itu, pada postingan ini saya ingin membahas kembali dengan menyajikan widget buatan saya sendiri. Seperti yang dibawah ini
Widget ini saya buat dengan mengganti icon bendera yang berbentuk seperti pin dan diberi sedikit efek shadow sehingga hasilnya menjadi seperti diatas. Semoga tidak terlalu mengecewakan.
Bagi anda yang tertarik, silahkan copy kode dibawah ini.Untuk Google Translate 2 baris. Gunakan kode dibawah 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/AVvXsEgTHUJWCoF52PuQVp2W4nYWVtSi6XrXapFM9qoO7Sfkh8sDcad_Ejo8sd9seVsEt5Ug9j0KNOA1v4Flzir-cbVuBjkiRW4G6hsNQALkNZm-heP7HyJkQDmrG9BuHX9JUsizVLUHosCzumFC/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/AVvXsEjvNXoHbnsaL8d-a4QyiJ0R7CXPUA4MwfPl9sLWFeCK01y7rZmytcFJaCR1sN14S_t0XwoAYDpI1iCp6i9MaXFgkjL3K7w_GcQOz_IaEFFKTZoZACjJtZqe-JXJ8CSj3Vj9UBWNYZQTvI9t/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/AVvXsEj3D0LB_G1B-JeNew582QA6OX7AgwaDeTVXRN3PzPn5MZHPVksIBGUvfRuB-nHvZAHOwojIhj_fVslXnwK-G4G73yxoes6lgZmb6nleFoZBrL9c25WtWtflHsxnN_l6WhaBN8HjL7hjXA0K/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/AVvXsEiP4LlWLr-nhxYLS3i-gjijBoaK42cYtV81E58ZG6yiN-mZNaB-V53a7Od6rOQYqWxGBR39aOm4RXy5FxSbvWkD3wYGW5WLiq8DpRgJ6B70F_RleCMa2BY-RBdNEET-S28v8BIh3DiOPMke/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/AVvXsEiD_l_fN1-lBZ6hfaqqNaO1Ep_QzwLiaC7HFJN40W659Mta5zMjCif6GK0xZJJQpHWS8Wh3gCmCT2vWUGyCaV1GK8cF_9lLsCwwJhJi3ot1t9apAVU306Ponw5BNHl2_cccqOd81Wn1tsJ6/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/AVvXsEgZAfPd163lcvs_hU6-6ATZ20Ovav0pxaehduZ8m0QxPzZj3esfA_ZKjz89erDrTIxg2P5dhyphenhyphenOpXxHxGi7NFqDbHny5m36oin6L-Hl5xZmixZsv9jxthbCC8UB8BAGsb3j-QZairl2xnkzm/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/AVvXsEgfOllSBX_BY0UYEvGW6Fp-kuISNQfSI-kWChAMF15bNybhwpTr5Fy1aiZQGtTQMhHbgYHlmqaodtsNoR_7kjB2P4kiV3qKcKWAuEdjf2spMf4OegkDILKdJCkiftmGrFOP2AMG8GU1URyM/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/AVvXsEhbMlqStrpu15YQsj0b3GaDR9LEMTE66GpnXiDVx0n3_wYcAquq4oxTK1ZUyK2sW4TbBgmJJqLGaS59qZUvU4LXk5xveAKu6tHv0XySsWMwvhCUmkQWliRcdFWYz4WS-6m9Efhp95PJfwLG/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/AVvXsEjHgTPctjYvarU_9imuxDOe8hAtWyueY8Ntsd63NJiF_ZlwyXL6ujU8QUJhxKqlto-jtbZUAfWJ8xkd7N06TyyjqkmXC6bpq_Gh7EhEtfz8w4Ro4ou5NzExkZKal2yzuvqaNRqg2nfzNLvY/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/AVvXsEhLOV2msC-DUVHjzHfU50yGFzFECgerGYkqa_kgD-9RlnNlUVnXqS8WvW2D0X4PvzE-oTYxly25BA7yHT9_ggymV0GCTh8t032yy2HP64R1Fyi0-xbw8403vcr3OxSh71LVPKu-RozQLiVN/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/AVvXsEiiDZbKM6rE2j3zsrIc9s3qifKkTqIC5NrKveftY_XK5gtH_Clkyz5Ng28aYXsLRLNH9LCAM698LITlWMT3tNHDxY6WR15yncnjpx7mzeg6QmzUAn1LX28vl1CeQ3QwzFMKfakpjr1ZA1eD/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/AVvXsEjp5x_Q2WXPejopvESWyw1_IqvGEWAf3VnakTy8-BppVq0FpvlZkAhVoJlJpFH5zayrrH9okwX5Au43mHXp3yBgN0MIE3yOt2iGm940zbYyW_D9WPOPEm1VtzjRwSglHflxBX8qNJz20EYo/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://www.hermanblog.com/2009/03/memasang-widget-google-translate-pada.html" target="_blank">Translate Widget</a> by Google
</div></div>
Untuk Google Translate 3 baris. Gunakan kode dibawah 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/AVvXsEgTHUJWCoF52PuQVp2W4nYWVtSi6XrXapFM9qoO7Sfkh8sDcad_Ejo8sd9seVsEt5Ug9j0KNOA1v4Flzir-cbVuBjkiRW4G6hsNQALkNZm-heP7HyJkQDmrG9BuHX9JUsizVLUHosCzumFC/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/AVvXsEjvNXoHbnsaL8d-a4QyiJ0R7CXPUA4MwfPl9sLWFeCK01y7rZmytcFJaCR1sN14S_t0XwoAYDpI1iCp6i9MaXFgkjL3K7w_GcQOz_IaEFFKTZoZACjJtZqe-JXJ8CSj3Vj9UBWNYZQTvI9t/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/AVvXsEj3D0LB_G1B-JeNew582QA6OX7AgwaDeTVXRN3PzPn5MZHPVksIBGUvfRuB-nHvZAHOwojIhj_fVslXnwK-G4G73yxoes6lgZmb6nleFoZBrL9c25WtWtflHsxnN_l6WhaBN8HjL7hjXA0K/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/AVvXsEiP4LlWLr-nhxYLS3i-gjijBoaK42cYtV81E58ZG6yiN-mZNaB-V53a7Od6rOQYqWxGBR39aOm4RXy5FxSbvWkD3wYGW5WLiq8DpRgJ6B70F_RleCMa2BY-RBdNEET-S28v8BIh3DiOPMke/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/AVvXsEiD_l_fN1-lBZ6hfaqqNaO1Ep_QzwLiaC7HFJN40W659Mta5zMjCif6GK0xZJJQpHWS8Wh3gCmCT2vWUGyCaV1GK8cF_9lLsCwwJhJi3ot1t9apAVU306Ponw5BNHl2_cccqOd81Wn1tsJ6/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/AVvXsEgZAfPd163lcvs_hU6-6ATZ20Ovav0pxaehduZ8m0QxPzZj3esfA_ZKjz89erDrTIxg2P5dhyphenhyphenOpXxHxGi7NFqDbHny5m36oin6L-Hl5xZmixZsv9jxthbCC8UB8BAGsb3j-QZairl2xnkzm/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/AVvXsEgfOllSBX_BY0UYEvGW6Fp-kuISNQfSI-kWChAMF15bNybhwpTr5Fy1aiZQGtTQMhHbgYHlmqaodtsNoR_7kjB2P4kiV3qKcKWAuEdjf2spMf4OegkDILKdJCkiftmGrFOP2AMG8GU1URyM/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/AVvXsEhbMlqStrpu15YQsj0b3GaDR9LEMTE66GpnXiDVx0n3_wYcAquq4oxTK1ZUyK2sW4TbBgmJJqLGaS59qZUvU4LXk5xveAKu6tHv0XySsWMwvhCUmkQWliRcdFWYz4WS-6m9Efhp95PJfwLG/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/AVvXsEjHgTPctjYvarU_9imuxDOe8hAtWyueY8Ntsd63NJiF_ZlwyXL6ujU8QUJhxKqlto-jtbZUAfWJ8xkd7N06TyyjqkmXC6bpq_Gh7EhEtfz8w4Ro4ou5NzExkZKal2yzuvqaNRqg2nfzNLvY/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/AVvXsEhLOV2msC-DUVHjzHfU50yGFzFECgerGYkqa_kgD-9RlnNlUVnXqS8WvW2D0X4PvzE-oTYxly25BA7yHT9_ggymV0GCTh8t032yy2HP64R1Fyi0-xbw8403vcr3OxSh71LVPKu-RozQLiVN/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/AVvXsEiiDZbKM6rE2j3zsrIc9s3qifKkTqIC5NrKveftY_XK5gtH_Clkyz5Ng28aYXsLRLNH9LCAM698LITlWMT3tNHDxY6WR15yncnjpx7mzeg6QmzUAn1LX28vl1CeQ3QwzFMKfakpjr1ZA1eD/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/AVvXsEjp5x_Q2WXPejopvESWyw1_IqvGEWAf3VnakTy8-BppVq0FpvlZkAhVoJlJpFH5zayrrH9okwX5Au43mHXp3yBgN0MIE3yOt2iGm940zbYyW_D9WPOPEm1VtzjRwSglHflxBX8qNJz20EYo/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://www.hermanblog.com/2009/03/memasang-widget-google-translate-pada.html" target="_blank">Translate Widget</a> by Google
</div></div>
1. Kalau sudah, buka kotak HTML/ javascript lalu pastekan kodenya kedalam kotak.2. Klik Save. Selesai. Silahkan lihat hasilnya.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.Sumber Artikel ini : http://www.hermanblog.com/2009/03/memasang-widget-google-translate-pada.html