Translate This – Inline Language Translation Widget With Google Analytics Tracking and Widget Customization Options

Google Translate offers webmasters a widget for using its language translation tool to translate content on webpages, but it lacks customization options like Google Tracking and restricting the translation to a specific element.etc.,

translate-this1

Translate This is lightweight JavaScript language Translation Widget that uses the Google Translate API and AJAX with better customization options to users like :

  • Tracking with Google Analytics
  • The ability to restrict the translation by ID so the widget only translates a portion of the page
  • A callback function for when the translation completes
  • Control over which languages appear in the flag list, drop down and overall listing
  • Various styling options including the ability to use your own flag imagery
  • Change the text of the widget to suit your site’s language
  • Supports 52 languages.
  • Cross Browser Compatible : Works in IE’s 6-8, Firefox 2-3.5, Safari 3+4, Chrome, and Opera 9+10.
  • Inline Translation
  • The script is also light weighing just over 12 kb

translate-this2
Reaching larger and wider audience is definitely good for any blog, this translation widget makes it easy for international audience to read your blog/website.

Update – Now there’s a WordPress Plugin for the TranslateThis Button which also offers better customization as to choose which language translations to offer and control over which part of the page to translate, Google Analytics Tracking and Display Customization.

To insert the TranslateThis Button using the WP Plugin, insert the following code where you want the button to appear –

<?php
    if ( function_exists('translate_this_button') ) translate_this_button();
?>

and there’s also widget that you can place in your widgets and after activatation customize the plugin under the TranslateThis Button Settings.

Similar Post  How To Monitor WebServer Status From Desktop Using Network Monitoring Tool

Do share your experience with Translate This, Language Translation Widget with us.


2 comments

  1. Lakhyajyoti Reply

    I tried it.But mu blog theme does not support this plugin.Now I will try it again with your code.Thanks for sharing.

  2. Maartha Reply

    Hi

    I have tried it out. But the value of button element is not translating. 🙁

    any idea?

    Thanks in advance

    Regards
    Maartha

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.