Artikel Terbaru :

Memasang Widget Google Translate Pada Blog

Minggu, Januari 10, 2010 | komentar

Widget ini berfungsi untuk menerjemahkan bahasa yang satu ke bahasa yang lain. Dengan memasang widget ini, maka pengunjung yang berasal dari negara lain juga bisa menikmati konten diblog anda. Selain itu, anda juga bisa memanfaatkan widget ini untuk belajar bahasa asing lho. Menarikkan?

Bagi anda yang tertarik, silahkan copy kode dibawah ini.

Untuk Google Translate 2 baris. Gunakan kode dibawah ini:

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}
.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}
</style>

<div style="text-align:center">
<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjunzrRDWarO1zqY3qTSCOhYFqF13PWXr134p9VsERzhyIK06R2sMHjeYsmSsvtH54dOqdkgxUk3AT3lsrqDcsj9bQB30hb5u785JwrpFyQ-E74dhcWzB2Qa6jRdYogMwNMu6a89MiKCQml/s144/uk-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtNUiIGF8hz8N64tqirB2wGhKIGxXt_fCIswqC1c3HxwZlsh7iq3WQV0D9PplKwXwv9zeI7VNFVSgTiyrtPge3lMZ9-Y9Y93kl-0gM62AsdP1ucI0-mICnGADX4FfyBSEOjdV7aZCT5kRV/s144/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6ryQ3lrmbwieF7GZypLwAwPFp2xKI3_vaK3MmvB2118gRZzJEKQ_nAbR6_MBHW42Z5gHFyTGNjeh1Tc2wPmRrq8OUXgT6XqKkfsGVfYZ3ezlJrMQ4kX4cVdLKx-NQX0mLpMSKTaCaHDLr/s144/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" 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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevaxBT3ikCTQwIyXGqxQbd1NxwerVL14dbMPOv8IjP94H4c1OfHOMyJSk1-OkfnFuxcNnKQsdAvw6em1eSId0nzr0JXsFmzUxmDO9WSrEpep0kZDkKgiTMkp4sXP8YPsgoGWXj5XzQE_r/s144/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vjOS4CcOcSF2D8QbPZ5boQ8vdEKzNYxPhnv-j2ovodDUvlovGRgKHdiLvUoTY8qUFJiIbxs5AFCP2cFxHtp05Is1ZRF18S3ZPSu2fT4pXY7QsAEt8sCWAsj5auX6r1K4IDcA1H-nFwZr/s144/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYfDnFEL_BEbD0lpSrO3eYX8M6B5i0HYZjEHKzJpKhCpIe97TR9VP32r9od67o5TCJWsXBZbnONQ1jQ9GJAD-abe11gxSdXfeRvpOK6K06uCQvHhyd2qd4-rwYNn1_ULBQpXYGiwXKSkeY/s144/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifwiBypI9vhNuf9uYdytDM42BCKRmxUrJDk_7qj38XKfw2IwFTRbjZ0Nw2Sany-tYcC7Ed71xZ6oExcKmd2zrFnjFZeRBJsh12h7FEDHII3-9lGkDoXMSoxOHZAE0UWEdUSCG-4ax5JrVH/s144/russian-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" target="_blank" rel="nofollow" title="Brazil" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazil" border="0" align="absbottom" title="Brazilian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANN-W5mJdiBLu-JAqj_pWqJ8FDoZ-T1iEO2VIWVRvlqFhc0zKP_9-LOuk42bvtczviX6eqOMH-1DLu5lO2MyaDuKCF8LnKtz4DWYj0Db5YEEzVzh5DZ-Fq8REy263mQh08-kSYLPbDvM6/s144/brazil-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZYiWC6hoKaeLXCQqNLAWOZ-d7vYp-DmO-I5AjHZp5s8uro_AgapD9LjQvfNGN9xOFeqlmFijab0YyQpwkuCBYwVBGkMN0rKS2Ve8z3lcfD9QslWOyHilOe06eaRirnohBVGUZ1mz5dC8J/s144/japan-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRqzm_xUZ7F25n8Ud_WS_BSvdauF0-U5bzKvRnNZQ5HzAj3Iq9JOyKEQXFU8kbdKkLqvSNvnpsoJjbnY8t1NbSDLnpPcuwtfZk8cfRyqZy_LJEdbtN96s_6IWAEhAldhuXfgFnRKh_d36G/s144/korean-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMYXuo8UuYbh0Sj9PsjeuxAiTh9gEtOKWUhxkSwoLcmpv3P6d_knnO_VQzcUf4BDI2WsHtO6_krsqWa5_CWxBWOf_pf5YApFpju2wqzuHjTTFnQ-wuJIwwpA_hmzS60UtJz1xxwWdHL4cD/s144/arab-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" 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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPkFIEhIadRp_bmSO9z2hUcvxa5PvjM3CPh1niKeIIIEQzt7WiR8MgFvkxQuPacWow51MUfqA1opJFqGuwfLnJlYa8zkX_ZJN4VS9dQno7IcYORlwERCoIGBdjl80viktq0Mfl3WLdnLyS/s144/china-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<div style="font-size:9px; padding:8px 0px 0px 0px">
<a href="http://seruyanblogger.blogspot.com/2010/01/memasang-widget-google-translate-pada.html"/>Translate Widget</a> by Google
</div></div>

Untuk Google Translate 3 baris. Gunakan kode dibawah ini:

<style>
.translate img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
border:0;
padding-left:0px;
}
.translate:hover img {
filter:alpha(opacity=50);
-moz-opacity: 0.50;
opacity: 0.50;
border:0;
}
</style>

<div style="text-align:center">
<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjunzrRDWarO1zqY3qTSCOhYFqF13PWXr134p9VsERzhyIK06R2sMHjeYsmSsvtH54dOqdkgxUk3AT3lsrqDcsj9bQB30hb5u785JwrpFyQ-E74dhcWzB2Qa6jRdYogMwNMu6a89MiKCQml/s144/uk-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtNUiIGF8hz8N64tqirB2wGhKIGxXt_fCIswqC1c3HxwZlsh7iq3WQV0D9PplKwXwv9zeI7VNFVSgTiyrtPge3lMZ9-Y9Y93kl-0gM62AsdP1ucI0-mICnGADX4FfyBSEOjdV7aZCT5kRV/s144/france-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6ryQ3lrmbwieF7GZypLwAwPFp2xKI3_vaK3MmvB2118gRZzJEKQ_nAbR6_MBHW42Z5gHFyTGNjeh1Tc2wPmRrq8OUXgT6XqKkfsGVfYZ3ezlJrMQ4kX4cVdLKx-NQX0mLpMSKTaCaHDLr/s144/german-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" 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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjevaxBT3ikCTQwIyXGqxQbd1NxwerVL14dbMPOv8IjP94H4c1OfHOMyJSk1-OkfnFuxcNnKQsdAvw6em1eSId0nzr0JXsFmzUxmDO9WSrEpep0kZDkKgiTMkp4sXP8YPsgoGWXj5XzQE_r/s144/spain-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_vjOS4CcOcSF2D8QbPZ5boQ8vdEKzNYxPhnv-j2ovodDUvlovGRgKHdiLvUoTY8qUFJiIbxs5AFCP2cFxHtp05Is1ZRF18S3ZPSu2fT4pXY7QsAEt8sCWAsj5auX6r1K4IDcA1H-nFwZr/s144/italy-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYfDnFEL_BEbD0lpSrO3eYX8M6B5i0HYZjEHKzJpKhCpIe97TR9VP32r9od67o5TCJWsXBZbnONQ1jQ9GJAD-abe11gxSdXfeRvpOK6K06uCQvHhyd2qd4-rwYNn1_ULBQpXYGiwXKSkeY/s144/dutch-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifwiBypI9vhNuf9uYdytDM42BCKRmxUrJDk_7qj38XKfw2IwFTRbjZ0Nw2Sany-tYcC7Ed71xZ6oExcKmd2zrFnjFZeRBJsh12h7FEDHII3-9lGkDoXMSoxOHZAE0UWEdUSCG-4ax5JrVH/s144/russian-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" target="_blank" rel="nofollow" title="Brazil" onclick="window.open('http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=id%7Cpt&hl=en'); return false;"><img alt="Brazil" border="0" align="absbottom" title="Brazilian" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgANN-W5mJdiBLu-JAqj_pWqJ8FDoZ-T1iEO2VIWVRvlqFhc0zKP_9-LOuk42bvtczviX6eqOMH-1DLu5lO2MyaDuKCF8LnKtz4DWYj0Db5YEEzVzh5DZ-Fq8REy263mQh08-kSYLPbDvM6/s144/brazil-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>
<br/><br/>
<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZYiWC6hoKaeLXCQqNLAWOZ-d7vYp-DmO-I5AjHZp5s8uro_AgapD9LjQvfNGN9xOFeqlmFijab0YyQpwkuCBYwVBGkMN0rKS2Ve8z3lcfD9QslWOyHilOe06eaRirnohBVGUZ1mz5dC8J/s144/japan-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRqzm_xUZ7F25n8Ud_WS_BSvdauF0-U5bzKvRnNZQ5HzAj3Iq9JOyKEQXFU8kbdKkLqvSNvnpsoJjbnY8t1NbSDLnpPcuwtfZk8cfRyqZy_LJEdbtN96s_6IWAEhAldhuXfgFnRKh_d36G/s144/korean-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="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" height="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMYXuo8UuYbh0Sj9PsjeuxAiTh9gEtOKWUhxkSwoLcmpv3P6d_knnO_VQzcUf4BDI2WsHtO6_krsqWa5_CWxBWOf_pf5YApFpju2wqzuHjTTFnQ-wuJIwwpA_hmzS60UtJz1xxwWdHL4cD/s144/arab-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<a class="translate" href="#" 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="24" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPkFIEhIadRp_bmSO9z2hUcvxa5PvjM3CPh1niKeIIIEQzt7WiR8MgFvkxQuPacWow51MUfqA1opJFqGuwfLnJlYa8zkX_ZJN4VS9dQno7IcYORlwERCoIGBdjl80viktq0Mfl3WLdnLyS/s144/china-flag.png" style="cursor: pointer;margin-right:8px" width="24"/></a>

<div style="font-size:9px; padding:8px 0px 0px 0px">
<a href="http://seruyanblogger.blogspot.com/2010/01/memasang-widget-google-translate-pada.html"/>Translate Widget</a> by Google
</div></div>
  • Kalau sudah, buka kotak HTML/ javascript lalu pastekan kodenya kedalam kotak.
  • Klik Save.
  • Silahkan lihat hasilnya seperti dibawah ini :

Jika anda merasa letaknya kurang pas dengan kolom sidebar anda. Anda bisa menyesuaikan jaraknya dengan mengganti nilai 0 pada padding-left. Semakin tinggi nilainya semakin lebar jaraknya. 

Selamat mencoba...!!!

Tips ini bersumber dari Herman blog. Mudah-mudahan tips ini berguna bagi teman-teman semua 


Selamat Mencoba

Jika kamu suka dengan artikel ini, silahkan Share ke teman yang lain dengan cara klik button ‘ SHARE’ di bawah ini
Share this article :
Artikel tentang Memasang Widget Google Translate Pada Blog. diposting oleh Khairul pada hari Minggu, Januari 10, 2010.Tak lengkap rasanya jika kunjungan anda di pehu.web.id. ini tanpa meninggalkan sedikit jejak. Semoga artikel Memasang Widget Google Translate Pada Blog ini bermanfaat. Terimakasih...

Get free daily email updates!

Follow us!

TULIS KOMENTAR DI BAWAH INI

Terima kasih atas kunjungannya. Bahagia rasanya jika Anda berkenan meninggalkan sedikit jejak disini. But No Spam, No Porn....OK Bro!!!

 
Template dimodifikasi oleh pehu.web.id
Copyright © 2013. | Powered by Blogger