Thursday, February 18, 2010

How to install Google Translate the website


Quite easy for any publisher who wants to understand the information through a variety of languages in the world, you need only copy and paste code:

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

If you do not want your page translated by Google Translate, insert the following meta tag into your HTML file:

name="google" <meta value ="notranslate">


If you do not want to part of your web pages translated, simply add "class = notranslate" to any HTML element to prevent it translated. For example:


Kirim email ke <span class="notranslate">sales at example dot com</span>

1 comment:

  1. absen bos... hehehe tapi kalo susunan katanya kurang jadi berantakan translatenya

    ReplyDelete