Get Google Translate Element power

18 Dec

Google announced that they are now integrating Google Translation in their Google Sites service.  Google Sites enable anyone with a Google Account to make their own website. Just copy and paste the code and enjoy the translator services with a single click.

From Google:

Copy and paste this snippet of code into your webpage

“<!– Google Translate Element –>
<div id=”google_translate_element” style=”display:block”></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>&#8221;

It now comes integrated with the Google Translate Element.

So, if a web user visits your Google Site powered service with a browser set to a different language… Google would automatically display a translate button. User would be able to get the translated content in their set language by clicking on that button.

Source: Google

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: