Saturday, January 9, 2010

Add a Light Translator to your blog

As blogger, we must always be wondered what will happen if visitors from other country with other language come to our blog. If we wrote article in the language that they did not understand, what will happen. The visitors will not visit our house(blog) again. This such things will not be happen to your blog after you follow the steps given below...




Step 1: Sign in to blogger as usual using your ID. Go to your Layout and choose Edit HTML tab. Back up your template. Click at the Download Full Template. Tick at the Expand Widget Templates.






Step 2: Use Ctrl+F and find ]></b:skin> tag. Above the  ]></b:skin> tag, paste this code:


.other-language {
font: bold 11px "Trebuchet MS", Arial, Helvetica, sans-serif;
color: #758D38;
width : 250px;
background: #F2F2F2;
}

Attention!!!
  • You may change the colour code(758D38) with the colour code that you like.

Step 3: Click at the Save Template.

Step 4: Go to the Page Elements at the Layout and choose Add a Gadget. A small pop up window window will appeared. Between the choices, you must click at the HTML/JavaScript. A small pop up window will appeared again but this window has a content box. Paste this code in the content box appeared.

<small>Choose : </small>
<select onchange="if (this.value!='') window.open(this.value,'_blank')" class="other-language">
<option selected value="0"/> Other Language
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sq&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Albanian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ar&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Arabic
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=bg&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Bulgarian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ca&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Catalan
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=zh-CN&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Chinese (Simplified)
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=zh-TW&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Chinese (Traditional)
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=hr&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Croatian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=cs&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Czech
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=da&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Danish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=nl&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Dutch
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=en&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> English
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=et&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Estonian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=tl&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Filipino
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=fi&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Finnish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=fr&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> French
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=de&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> German
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=el&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Greek
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=gl&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Galician
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=iw&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Hebrew
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=hi&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Hindi
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=hu&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Hungarian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=it&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Italian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ja&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Japanese
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ko&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Korean
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=lv&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Latvia
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=lt&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Lithuanian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=mt&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Maltese
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=no&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Norwegian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=fa&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Persian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=pl&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Polish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=pt&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Portuguese
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ro&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Romanian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ru&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Russian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sr&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Serbian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sk&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Slovak
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sl&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Slovenian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=es&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Spanish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sv&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Swedish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=th&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Thai
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=tr&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Turkish
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=uk&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Ukrainian
<option value="http://translate.google.com/translate?hl=en&sl=id&tl=vi&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Vietnamese
<!-- Please Don't Change or Remove This Code -->
<option value="http://YOURBLOGNAME.blogspot.com"/>
<!-- Enjoy This  -->
</select>
<small><div style="text-align:right;">by <a href="http://translate.google.com" target="_blank">Google Translate</a></div></small>

Attention !!!
  • Please change YOURBLOGNAME in the code above with your blog name.
  • You can delete language that you don't want or don't like. To do that, you only need to delete some code. For example:
1:  To delete Albanian, please delete:

<option value="http://translate.google.com/translate?hl=en&sl=id&tl=sq&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Albanian


2: To delete Arabic, please delete:

<option value="http://translate.google.com/translate?hl=en&sl=id&tl=ar&u=http%3A%2F%2FYOURBLOGNAME.blogspot.com%2F"/> Arabic



Step 5: Save it. That's all for now. Thank You. Hope all of you enjoy this post. See you again. Bye2...

Please leave this post with a comment..Thanks..

7 comments:

Admin on January 8, 2010 at 8:34 PM said...

good post..friend
dengan menggunakan translate ini akan memudahkan pengunjung untuk membaca isi dari postingan blog. sedikit masalah untuk mengganti text yourblogname harus input one by one, apakah tidak ada yang auto..??

Syarhan on January 8, 2010 at 8:36 PM said...

Bro..maaf la bro..tak ada..Kalu kau jumpa, kasi bilang sama aku ok..Thanks again for the comment

Syarhan on January 9, 2010 at 3:04 AM said...

kalau dah ada yang auto nanti akan di updatekan...

Fær.han/Unown F/Gyan on January 9, 2010 at 6:56 PM said...

Hurm...nak cuba tapi pnjg sgt~
Huhuhu tapi gud la, ada usaha untuk mencapai masyarakat bangsa lain ^_^

Abu Hz-Belajar Bisnis on January 16, 2010 at 6:21 AM said...

.... Hmmmm ribet jg ya bro....
ada yg lebih simpel ga ya?
Thanks from Belajar Bisnis

Syarhan on January 16, 2010 at 11:44 PM said...

you're welcome

Seffliva on August 9, 2011 at 2:55 AM said...

Thanks for sharing those information. I will definitely use it for my blog.
---
Seff
website translation services

Post a Comment

 

Blogger Tips and Style Copyright © 2009 Community is Designed by Free Blogger Template