Senin, 22 Agustus 2011

Cara Pasang Google Translate Bendera Berkibar Di 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



<center><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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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>
<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></center>


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



EnglishGermanDutchPortugueseItalianRussianGreekBrazilianFrenchSpanishArabicKoreanJapaneseChineseIndonesian


Semoga bermanfaat.

Credit toBlog Hadi

0 komentar:

:10 :11 :12 :13 :14 :15 :16 :17
:18 :19 :20 :21 :22 :23 :24 :25
:26 :27 :28 :29 :30 :31 :32 :33
:34 :35 :36 :37 :38 :39

Poskan Komentar

Related Posts Plugin for WordPress, Blogger...