Wednesday, 10 August 2011

Memasang Google Translate Bendera Berkibar pada Blog

Tidak menutup kemungkinan blog yang kita miliki dikunjungi oleh orang di seluruh dunia melalui internet. Kebanyakan blog menggunakan bahasa internasional, yaitu bahasa inggris dengan tujuan agar blognya dapat dimengerti oleh semua orang diseluruh dunia. Namun jangan khawatir apabila blog yang kita miliki berbahasa Indonesia, dengan menggunakan tambahan widget google translate maka blog kita yang berbahasa indonesia akan dapat diterjemahkan ke dalam beberapa bahasa yang digunakan di dunia, seperti bahasa inggris, perancis, italia, jerman, brazilia, portugal, yunani, jepang, cina, korea, maupun bahasa arab.

Caranya mudah, kita tinggal memasukkan kode script yang tersedia di bawah ini di bagian sidebar blog kita

Langkah langkahnya sebagai berikut
Tentunya pertama tama masuk akun blogger --> masuk ke Tata Letak --> Elemen Laman --> Tambah Gadget


Pilih HTML/JavaScript


Yang terakhir tinggal masukkan kode scriptnya
Script untuk bendera berkibar:

Google translate
Bahasa Inggris
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderainggris.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Jerman
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderajerman.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Belanda
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderabelanda.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Portugal
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/3dflags_prt0001-0002a3231382942-iaz.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Itali
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderaitalia.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Russia
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderarussia.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Yunani
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Greek" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cel&hl=en'); return false;"><img alt="Greek" border="0" align="absbottom" title="Greek" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/1275135135607711509667243-1.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Brazil
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Brazilian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazilian" border="0" align="absbottom" title="Brazilian" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderabrazil.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Perancis
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderaprancis.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Spanyol
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Spanish" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Ces&hl=en'); return false;"><img alt="Spanish" border="0" align="absbottom" title="Spanish" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderaspanyol.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Arab
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderaarab.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Korea
<a class="google_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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderakorea.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Jepang
<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" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderajepang.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa China
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Chinese" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Czh-CN&hl=en'); return false;"><img alt="Chinese" border="0" align="absbottom" title="Chinese" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/benderachina.gif" style="cursor: pointer;margin-right:3px" /></a>


Google translate
Bahasa Indonesia
<a class="google_translate" href="#" target="_blank" rel="nofollow" title="Indonesian" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Cid&hl=en'); return false;"><img alt="Indonesian" border="0" align="absbottom" title="Indonesian" src="http://i985.photobucket.com/albums/ae333/dinoo1/Flag/1275135135607719624414528.gif" style="cursor: pointer;margin-right:3px" /></a>


Contoh hasilnya seperti berikut, klik bendera untuk alih bahasa sesuai dengan bahasa masing masing


EnglishGermanDutchPortugueseItalianRussianGreekBrazilianFrenchSpanishArabicKoreanJapaneseChineseIndonesian




No comments:

Post a Comment