TinyPortal

Development => Block Codes => Latest block snippets => Topic started by: Lesmond on September 07, 2010, 07:15:19 PM

Title: [block]Google Translate!
Post by: Lesmond on September 07, 2010, 07:15:19 PM
simple little block code,    place in one your left or right blocks, under html/javescript code O0


Code: [Select]
<center><div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
}
</script><script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script></center>

if it dont work ask google