About the TranslateThis Button

The TranslateThis Button is a JavaScript translation widget developed by Translate Company. The script leverages Google Translate and is very lightweight, running well on any website.

The widget provides an accessible JavaScript interface for translating up to 52 languages (and counting). The user interface has been carefully designed to work well in all environments on both PCs and mobile devices.


Detailed Info for Nerds

The TranslateThis Button has a number of technical advantages for developers.

First the script is very lightweight, weighing in at just over 20 Kb (under 30kb including all the imagery). And since it doesn't depend on any heavy JavaScript libraries, TranslateThis loads quickly and can be easily plugged into any site.

The script has undergone cross-browser testing, and works in IE 6-8, Firefox 2-3.6, Safari 3-5, Chrome, and Opera 9+. Furthermore it is designed to degrade gracefully into earlier versions of these browsers.

Additionally, attention has been paid to JavaScript optimization at every point. The codebase is optimized, object oriented and compressed. More about performance here

The translation is executed asynchronously and have been consolidated as much as possible. Finally, HTTP requests have been limited as much as possible for the widget assets (the flag imagery is in an image sprite and the main button uses a data URI in most browsers).


Advanced Options

The TranslateThis Button provides a number of customizable options