Home » » How to add google translator to your website

How to add google translator to your website

Written By Unknown on Senin, 18 April 2011 | 01.27

Hey friends. Want to add google translator on your website. It can be be added in different ways. Here two layouts are given. Just copy and paste the code into your webpage.

Google Translate
 <div id="google_translate"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
layout: google.translate.TranslateElement.InlineLayout.
SIMPLE },'google_translate');
}
</script>
<script src="http://translate.google.com/translate_a/
element.js?cb=googleTranslateElementInit"></script>



Translate This
 <div id="translate-this">
<a href="http://translateth.is/"
class="translate-this-button">Translate</a></div>
<script src="http://www.google.com/jsapi"></script>
<script src="http://x.translateth.is/translate-this.js">
</script>
<script type="text/javascript">TranslateThis();</script>

Share this article :

Posting Komentar

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. Kumpulan Kata Broadcast Blackberry - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger