Berikut ini Bangiz akan berbagi tentang widget blog yaitu membuat google translate dengan menggunakan bendera. Walaupun sebenarnya translate ini dari widget bawaan bloggernya sendiri ada, namun supaya kelihatan lebih menarik ada baiknya Anda mencoba translate dengan bendera ini. Jika Anda tertarik ikuti langkahnya berikut ini:
1. Masuk dasbor blogger > Tata Letak
2. Pilih Tambahkan gadget > HTML/Javascript
3. Copas kode di bawah 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=auto%7Cen&hl=en'); return false;"><img alt="English" border="0" align="absbottom" title="English" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQYWFIvyMjvi7dgS6qpELmOW0T9PRWIKYfKiCsEXjPSyKbnv-7b7qtxuQLQuVmiQzRfO1gLHVrjymiYimhmSvRYxvmaxVAr4siRM_EOEQkg_Ksk2HxWTdRH9PSi5IbFAhf8KYLG0Jd2z4/s200/United+Kingdom(Great+Britain).png" style="cursor: pointer;margin-right:8px" 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=auto%7Cfr&hl=en'); return false;"><img alt="French" border="0" align="absbottom" title="French" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbbY_df4TNDswp6ENTBQTFMgKxqPWePRay-Aj34baXLzVtJf1zfL1xOZ89TXKcvBLiwQjbYtS8t94J6-Dgs6jVuWrGWeKupSy7oMyel7lYzd-GuFRwFvhkV8xk-iXcLn1rTOFhnWqsXc8/s200/France.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cde&hl=en'); return false;"><img alt="German" border="0" align="absbottom" title="German" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaroFwLom7FdXDESI97atLB6rgTLY7c8XXzwJv0Est1Rslr5Ik3Ymb4jthwq_mqdcIMQOJLKaIeDsiRxLcw23_mKSc56_ddvtgS-Exex4jY5wyG7O0ycw0x5xBfKh-J0-3gnC-90bTjko/s200/Germany.png" style="cursor: pointer;margin-right:8px" 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=auto%7Ces&hl=en'); return false;"><img alt="Spain" border="0" align="absbottom" title="Spain" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjirHNe5xjEU__EzhdoSqSlIIMHUAHPs-1_O80HGeV7Pt3CBisKqm0ilIBczb5NPY3WGlNHioQtvhcw2EXN8P-chxdmuj7IKjORKO09SvzBGHRvDTHepaibv590TZcdaJQPIhngEtGsioQ/s200/Spain.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cit&hl=en'); return false;"><img alt="Italian" border="0" align="absbottom" title="Italian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhRexs1LzdxYwlyq4-soNJfUUC4UnkwV_5b9OxlSQ1uSdopBd1dmO2clYt6g0yVxD9p6PcbgDayShoW52Z0mBaeGifE8Xx5N2s-H_1khcxiMciHUzJ5BgCGvl6as2zHPuR1okhM6KEoA8/s200/Italy.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cnl&hl=en'); return false;"><img alt="Dutch" border="0" align="absbottom" title="Dutch" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmZarEUVV8UGm4SLAbW1WItOaijguQhr1-DFJiDcOK9nQfXMeRslB1uZ0asz7QwWkfwOgAjbxop4CNQ0KXtALK5NdYMujf4Obm9lO2kXLHxMEaBCaIH9USlnI3NtAJEHldsP62JSGMW3U/s200/Netherlands.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Russian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cru&hl=en'); return false;"><img alt="Russian" border="0" align="absbottom" title="Russian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRI1WwtLaHv56gT0lvTNrD_mX4cy4cYvzO1betIv_NyRji2niACxFP0-KTdZzVwQ-WFTwWMe0aUOjtj1DD1rztX_PnmGJ0uK1f7kSejPh96CVrIxaZ1uKTRrRArrIlSZm7VXlFt9iPWxI/s200/Russian+Federation.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cpt&hl=en'); return false;"><img alt="Portuguese" border="0" align="absbottom" title="Portuguese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiNLRKmO5yxYaNvnov_9jkLrE5E5idfdodJjW4Nre9tRxl8mEktzQ5x0ostMoL_I-xhG5N0Adxy__WE6Ezuu5USs88oRXjPvr0okFWoa_w_yqKvIpTDgti2lu8uSRtZLY-GhFU4luben8/s200/Brazil.png" style="cursor: pointer;margin-right:8px" 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=auto%7Cja&hl=en'); return false;"><img alt="Japanese" border="0" align="absbottom" title="Japanese" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinNw4SOZ30QpiW28ryJ2bnbaMgWmC2fCgexlKtqHQPykrRWNy2b1q4qCR7qk9afZalqf4RGI7BYkVokg5YpLfYQAxs8v0yv2hmWA6omkY2AGkjRjNiOUaJQFLqLNYYXUMPOXS-5TrSG3c/s200/Japan.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Korean" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=auto%7Cko&hl=en'); return false;"><img alt="Korean" border="0" align="absbottom" title="Korean" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ZiOss_xjUEZR8aX-H61ca_E_xMIm5VfWCb3LdlvS-5i77ydYcDRdBoj43edDWeNVWbvXSVXcV8XynlOodeYltwY-XaVpGcHoioDHrR_CfgVPKaIkUL_0a-jggiXjfQxAMch3Bor2DwY/s200/South+Korea.png" style="cursor: pointer;margin-right:8px" 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=auto%7Car&hl=en'); return false;"><img alt="Arabic" border="0" align="absbottom" title="Arabic" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH8zMKSqvwefkPbLO5qkFgG9NcDq1WIRrXUINgi2fDHv189TnreCjRKpDTMFn1FXVdOpXl4ZZycw28Tiy5VUj4oFQxX1hUtS6WH5ID46k5J2dqvbjTTXfWWFnQkDPDF79lboEo4x2x2lE/s200/Saudi+Arabia.png" style="cursor: pointer;margin-right:8px" 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=auto%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/AVvXsEggAYMgyiNBwLDK0uQ9j3j6b3iWIt3bCcqh7CXambI1aMJCbXvE3bMZwMJKSgIvk4rf0Itr-YcF7_3G6t6l3oiDnXCjF_gznEw9uKIcbASy5SuFszHlH9j8LwEnVLW7H6YNYoAMwJ5K_vI/s200/China.png" style="cursor: pointer;margin-right:8px" width="24"/></a> </div>
<div 0px 0pxâ?? style="â??font-size:10px;margin:8px" 3px></div>
<br/>
<a href="http://bangiz.blogspot.com/"><font size="1px">Get this widget</font></a>
4. Simpan dan lihat hasilnya
Begitulah cara membuat google translate dengan menggunakan ikon bendera, jika Anda mempunyai widget translate yang unik lainnya silahkan share di komentar. Semoga bermanfaat.