Sunday, 22 April 2012

Membuat Translate Blog dalam Beberapa Bahasa

Petualang dunia maya yang mengunjungi blog anda tidak hanya berasal dari Negara anda sebagai pemilik blog. Pengunjung bisa berasal dari berbagai Negara. Nah, jika kebetulan ada orang luar negeri (bule) yang kebetulan berpetualang di blog kamu kan, kasian kalo dia gak bisa bahasa kita. Nah untuk itu dalam blog ini saya mau mencoba me-rewrite kode untuk translate bahasa yang akan menterjemahkan isi dari blog kamu.

caranya sangat mudah tinggal copy paste code HTML translate flag :

Ikuti petunjuk pemasangan flag translator ke blog sobat ;
1-log in ke account blogger anda.
2-Klik lay oout---->add new gadget---->Add HTML/JAVA SCRIPT.
3-Copy pastekan kode HTML didalam text area dibawah ini :

<div>
<a class="google_translate" href="http://blog-anda.blogspot.com/" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgJK5IxnG_LYvsihobgyrnhOAPOBFhqwxIZd8RsYT9pC4fCGqu8ym_273U0kokswTtOmusnmKMin7H4-c4DkEoYYjdgFAvZ_dgK1gKpkFHvLEQXBRVRDEGPaEVV5B5cjiRatcH479FDnk/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi418iLSCGc2lcbFM0K5zymhYdjYv4WO_Zu0tQ5BBFUhvfdN-aDyNZ3nTJenRmjAYByCfLLv09ezWp3tcn11QdbNNJQEZfEQu9aUoYiX58oZPKXkmDKv5Ioo1g605VHPpfF24nR7G2Cc4c/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGOV0SRx2p_r3tvbbB93i2N0y9tI2VT_GSX165-d4et9bb7i-i1zoKkZt6QKY0pDZvM3lsKQ6U_zOr37PEakDqeSnSgHHCZNqxeDQp0lwlbye8WIsnMGbRsti4R71xxOC93-HLQkBkJhTK/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a> <a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUluEUguul-teySo7EJY_pcUDIf6xxl0q4P5oQXwMKx9t1khkNA1m_WI-CBPBZgJEHAct2Fuy3m5l9kNkeliikjVU3EKIcQyAOpnmRghczMuq-vwxawYjxtBYfG-RAFENU1jZ3W6C6mF4y/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifK1jDnPBtorsm1Ec9ZucjgztiozaSlLm9Li6fX5ffLq0vL4wlGwudDk6RhWc-o_umfMZ2_1ZmzVJTLEMrhBgMvRG3l67J1XQZdFlzS58BM88mxSGOEPz3q8lrndPGe1X-H7eF6Pbvm10/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr2HomqAc0QwUQBFGxc7zQMkagCRxDT-cfL4qu_E0LFrkWZ62qf3ONy2m4nGcb5x_271An0ygqF7WU72_KNXiEu5PkHyAZUNquLoza8L4u1djbS6Ow85fofLRUZVKYifhH6S0UhApejcY/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4O94qfy4AZAJJiSW6nAL6iYnLelvSDu3RBItF0rkcUkbRNiPY93xsRkZgljVd1Ym_tw-3Yvon8QhLgmPPGYPDxpS2UsMbMTXPduN02NdFib11w6SuST2SRVGOlwXCF_susYv3Wbo5DzA/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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" height="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSla47VhLe_0tRwIvO6g3aKhWml0DQnQBs7xDT-cnAh6PC3cThJ3kK6Y90BHD0GMfN5v87XKQDS0S8msO7q8r8qJi7bO28icWWJFJBEodqMF291SL3-Zand06CT1ax7bOKmJ9mPWBCzXs/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjX56Oe6u_UkzUXtZF3egO0cbFeCZzmjPIUaSdjOgmxHSBVF-heT_pBs44h6h_5jIq9f0uRXarBnut_NY6ciKuuQcZG_zqrpsdsUoTkQy5EewaBVQlxe-TvzXf_3RrzrVcGjtyxrmLGvl86/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge5sIr5yL_xn_5ZlRgON8q8_ejwaafcorFWemxky3zhqXiJjAmORLTTaARMwj7aPcd2UUvHWNvudMR0GqK8nSElT5AXibaNLzPideVQl8l9TgsEDihxltrsbMU1tqM8x6UefvJ7Xb5fxg/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioKo29yi7izgSsEaCdrNHOB451hc8DnL0zNVDtjnAnHHxYoF-KW-x3fs0oAbxTLEmI5fxayrnktPNlYrnqgpE9_SgKIeOgJmZ7enhKfCvvkjugaQZxBdJg930YNt-UX2-HVSowgrKqJjw/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a><a class="google_translate" href=" http://blog-anda.blogspot.com /" 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="32" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEvjz3rzDqV1lbQL64PgnRmzOhtk2EC7sgHRX71UjBvg75r0smZaoeUFRNLFM7zQQN1X7TsxvdoKx4Y9uAFaicYPYPRV0IlwXK04uIqQMIm-8THed5Kb-x9lLUMPk7HKowRWxQPRra4wM/?imgmax=800" style="cursor: pointer;margin-right:10px" width="24"/></a>
</div>

maka hasilnya akan seperti gambar ini :

EnglishFrenchGerman SpainItalianDutchRussianPortugueseJapaneseKoreanArabicChinese Simplified

Ganti url http://blog-anda.blogspot.com/ dalam text area dengan url blog milik anda.

4-Contoh bendera translator bisa sobat lihat pada halaman atas blog saya.
5-Selamat mencoba,semoga bermanfaat.

-dari berbagai sumber-