
Cara memasangnya? Gampang.
1. Masuk ’Tata Letak’
2. Klik ’Tambah widget’
3. Pilih HTML/Java Script
4. Masukkan kode ini:
<a href="javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|en&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|en&tbb=1&ie='+e;};" onclick="alert(document.getElementById('instructions').firstChild.nodeValue);return false;">
English</a>
5. Simpan
6. Selesai
Bagaimana jika ingin ditambahi translator bahasa lainnya?
Tambahkan kode ini dibawahnya:
Jepang:
<a href="javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ja&tbb=1&ie='+e;};" onclick="alert(document.getElementById('instructions').firstChild.nodeValue);return false;">
Japanese</a>
Arab:
<a href="javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|ar&tbb=1&ie='+e;};" onclick="alert(document.getElementById('instructions').firstChild.nodeValue);return false;">
Arabic</a>
Prancis:
lt;a href="javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|fr&tbb=1&ie='+e;};" onclick="alert(document.getElementById('instructions').firstChild.nodeValue);return false;">
French</a>
Jerman:
<a href="javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|de&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|de&tbb=1&ie='+e;};" onclick="alert(document.getElementById('instructions').firstChild.nodeValue);return false;">
German</a>
Note: untuk pemisah di antara kode satu dengan lainnya, anda bisa tambahkan kode | atau * dsb,
