Google Translate adalah statistik yang bebas multibahasa mesin-terjemahan layanan yang disediakan oleh Google Inc untuk menerjemahkan teks tertulis dari satu bahasa ke lain. Kali ini ARFAST56 akan sharing tentang tutorial blog yaitu Membuat Terjemahan Google Di Blog.
Langsung aja yah :
1. Masuk ke Blogger
2. Tata letak >> Tambah widget >> HTML/java script
3. Copy dan paste kode di bawah ini :
<!-- GTranslate: http://gtranslate.net/ -->
<a href="#" onclick="doGTranslate('en|en');return false;" title="English" class="gflag nturl" style="background-position:-500px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="English" /></a><a href="#" onclick="doGTranslate('en|fr');return false;" title="French" class="gflag nturl" style="background-position:-200px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="06" width="06" alt="French" /></a><a href="#" onclick="doGTranslate('en|de');return false;" title="German" class="gflag nturl" style="background-position:-300px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="German" /></a><a href="#" onclick="doGTranslate('en|it');return false;" title="Italian" class="gflag nturl" style="background-position:-600px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Italian" /></a><a href="#" onclick="doGTranslate('en|pt');return false;" title="Portuguese" class="gflag nturl" style="background-position:-300px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Portuguese" /></a><a href="#" onclick="doGTranslate('en|ru');return false;" title="Russian" class="gflag nturl" style="background-position:-500px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Russian" /></a><a href="#" onclick="doGTranslate('en|es');return false;" title="Spanish" class="gflag nturl" style="background-position:-600px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Spanish" /></a>
<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16.png');}
a.gflag img {border:0;}
a.gflag:hover {background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16a.png');}
-->
</style>
<br /><select onchange="doGTranslate(this);"><option value="" />Select Language<option value="en|af" />Afrikaans<option value="en|sq" />Albanian<option value="en|ar" />Arabic<option value="en|hy" />Armenian<option value="en|az" />Azerbaijani<option value="en|eu" />Basque<option value="en|be" />Belarusian<option value="en|bg" />Bulgarian<option value="en|ca" />Catalan<option value="en|zh-CN" />Chinese (Simplified)<option value="en|zh-TW" />Chinese (Traditional)<option value="en|hr" />Croatian<option value="en|cs" />Czech<option value="en|da" />Danish<option value="en|nl" />Dutch<option value="en|en" />English<option value="en|et" />Estonian<option value="en|tl" />Filipino<option value="en|fi" />Finnish<option value="en|fr" />French<option value="en|gl" />Galician<option value="en|ka" />Georgian<option value="en|de" />German<option value="en|el" />Greek<option value="en|ht" />Haitian Creole<option value="en|iw" />Hebrew<option value="en|hi" />Hindi<option value="en|hu" />Hungarian<option value="en|is" />Icelandic<option value="en|id" />Indonesian<option value="en|ga" />Irish<option value="en|it" />Italian<option value="en|ja" />Japanese<option value="en|ko" />Korean<option value="en|lv" />Latvian<option value="en|lt" />Lithuanian<option value="en|mk" />Macedonian<option value="en|ms" />Malay<option value="en|mt" />Maltese<option value="en|no" />Norwegian<option value="en|fa" />Persian<option value="en|pl" />Polish<option value="en|pt" />Portuguese<option value="en|ro" />Romanian<option value="en|ru" />Russian<option value="en|sr" />Serbian<option value="en|sk" />Slovak<option value="en|sl" />Slovenian<option value="en|es" />Spanish<option value="en|sw" />Swahili<option value="en|sv" />Swedish<option value="en|th" />Thai<option value="en|tr" />Turkish<option value="en|uk" />Ukrainian<option value="en|ur" />Urdu<option value="en|vi" />Vietnamese<option value="en|cy" />Welsh<option value="en|yi" />Yiddish</select>
<script type="text/javascript">
/* <![CDATA[ */
if(top.location!=self.location)top.location=self.location;
window['_tipoff']=function(){};window['_tipon']=function(a){};
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(location.hostname!='translate.googleusercontent.com' && lang_pair=='en|en')return;else if(location.hostname=='translate.googleusercontent.com' && lang_pair=='en|en')location.href=unescape(gfg('u'));else if(location.hostname!='translate.googleusercontent.com' && lang_pair!='en|en')location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href);else location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+unescape(gfg('u'));}
function gfg(name) {name=name.replace(/[[]/,"\[").replace(/[]]/,"\]");var regexS="[?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(location.href);if(results==null)return "";return results[1];}
/* ]]> */
</script>
<script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>
<a href="#" onclick="doGTranslate('en|en');return false;" title="English" class="gflag nturl" style="background-position:-500px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="English" /></a><a href="#" onclick="doGTranslate('en|fr');return false;" title="French" class="gflag nturl" style="background-position:-200px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="06" width="06" alt="French" /></a><a href="#" onclick="doGTranslate('en|de');return false;" title="German" class="gflag nturl" style="background-position:-300px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="German" /></a><a href="#" onclick="doGTranslate('en|it');return false;" title="Italian" class="gflag nturl" style="background-position:-600px -100px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Italian" /></a><a href="#" onclick="doGTranslate('en|pt');return false;" title="Portuguese" class="gflag nturl" style="background-position:-300px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Portuguese" /></a><a href="#" onclick="doGTranslate('en|ru');return false;" title="Russian" class="gflag nturl" style="background-position:-500px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Russian" /></a><a href="#" onclick="doGTranslate('en|es');return false;" title="Spanish" class="gflag nturl" style="background-position:-600px -200px;"><img src="http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/blank.png" height="16" width="16" alt="Spanish" /></a>
<style type="text/css">
<!--
a.gflag {vertical-align:middle;font-size:16px;padding:1px 0;background-repeat:no-repeat;background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16.png');}
a.gflag img {border:0;}
a.gflag:hover {background-image:url('http://joomla-gtranslate.googlecode.com/svn/trunk/mod_gtranslate/tmpl/lang/16a.png');}
-->
</style>
<br /><select onchange="doGTranslate(this);"><option value="" />Select Language<option value="en|af" />Afrikaans<option value="en|sq" />Albanian<option value="en|ar" />Arabic<option value="en|hy" />Armenian<option value="en|az" />Azerbaijani<option value="en|eu" />Basque<option value="en|be" />Belarusian<option value="en|bg" />Bulgarian<option value="en|ca" />Catalan<option value="en|zh-CN" />Chinese (Simplified)<option value="en|zh-TW" />Chinese (Traditional)<option value="en|hr" />Croatian<option value="en|cs" />Czech<option value="en|da" />Danish<option value="en|nl" />Dutch<option value="en|en" />English<option value="en|et" />Estonian<option value="en|tl" />Filipino<option value="en|fi" />Finnish<option value="en|fr" />French<option value="en|gl" />Galician<option value="en|ka" />Georgian<option value="en|de" />German<option value="en|el" />Greek<option value="en|ht" />Haitian Creole<option value="en|iw" />Hebrew<option value="en|hi" />Hindi<option value="en|hu" />Hungarian<option value="en|is" />Icelandic<option value="en|id" />Indonesian<option value="en|ga" />Irish<option value="en|it" />Italian<option value="en|ja" />Japanese<option value="en|ko" />Korean<option value="en|lv" />Latvian<option value="en|lt" />Lithuanian<option value="en|mk" />Macedonian<option value="en|ms" />Malay<option value="en|mt" />Maltese<option value="en|no" />Norwegian<option value="en|fa" />Persian<option value="en|pl" />Polish<option value="en|pt" />Portuguese<option value="en|ro" />Romanian<option value="en|ru" />Russian<option value="en|sr" />Serbian<option value="en|sk" />Slovak<option value="en|sl" />Slovenian<option value="en|es" />Spanish<option value="en|sw" />Swahili<option value="en|sv" />Swedish<option value="en|th" />Thai<option value="en|tr" />Turkish<option value="en|uk" />Ukrainian<option value="en|ur" />Urdu<option value="en|vi" />Vietnamese<option value="en|cy" />Welsh<option value="en|yi" />Yiddish</select>
<script type="text/javascript">
/* <![CDATA[ */
if(top.location!=self.location)top.location=self.location;
window['_tipoff']=function(){};window['_tipon']=function(a){};
function doGTranslate(lang_pair) {if(lang_pair.value)lang_pair=lang_pair.value;if(location.hostname!='translate.googleusercontent.com' && lang_pair=='en|en')return;else if(location.hostname=='translate.googleusercontent.com' && lang_pair=='en|en')location.href=unescape(gfg('u'));else if(location.hostname!='translate.googleusercontent.com' && lang_pair!='en|en')location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+escape(location.href);else location.href='http://translate.google.com/translate?client=tmpg&hl=en&langpair='+lang_pair+'&u='+unescape(gfg('u'));}
function gfg(name) {name=name.replace(/[[]/,"\[").replace(/[]]/,"\]");var regexS="[?&]"+name+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(location.href);if(results==null)return "";return results[1];}
/* ]]> */
</script>
<script type="text/javascript" src="http://joomla-gtranslate.googlecode.com/svn/trunk/gt_update_notes0.js"></script>
4. Simpan
link nya sudah dipasang balik thx :D
BalasHapusPengen masang widget terjemahan ini, tapi tadinya pengen liat demo nya dulu! :D
BalasHapus