Labels : Blogger
Level : Easy
Do We Need Translation Feature?
A few days ago, Zh!ntho comment on one of my posts. He asked Indonesian version of this blog. Of course I was confused, because this blog is still new. The only way that occurred in my mind is how google can translate my blog.
Yes, there it is. Google can do everything, almost anything can be done, especially just translating my tiny blog. One of google feature that can translate the web page is Google Translate.
How Google Translate Work?
I started looking for how to translate my blog page with google translate. When I tried to translate a page, then Google translate accept the parameter "u" which is the URL of the page to be translated and parameter "langpair" which contains the Source Language and Translation Language.
So, I conclude that we can create the form that will go to google translate to translate our pages. Actually a lot of ways to make this form, some use the flag of each country. But I prefer to use a combo box because it makes a faster loading. And I make this script, you can use it because it's free.
How to Add Translation Feature To My Blog?
To put this in your blog, simply go to add the widget>> HTML / Javascript, and paste this script. Then save it.
<form action="http://www.google.com/translate" target="_blank"><div>
<b>Translate To </b>
<script language="JavaScript">
document.write ("<input name=u value="+location.href+" type=hidden>")
</script>
<noscript> <input name="u" value="http://www.firecreature.com"/> </noscript>
<select name="langpair">
<option value="en|id" selected />Bahasa Indonesia
<option value="en|de" />Deutsch
<option value="en|fr" />French
<option value="en|pt" />Portuguese
<option value="en|it" />Italiano
<option value="en|es" />Spanish
<option value="en|ja" />Japanese
<option value="en|ko" />Korean
<option value="en|zh-CN" />Chinese
</select>
<input type="submit" value="Translate Now" />
<!-- Originaly created by www.FireCreature.com, powered by Google
Translate -->
</div>
</form>
Keyword (Indonesia) : cara membuat terjemahan untuk blog

No comments:
Post a Comment