New version of web_translate_it gem

By Edouard on May 14, 2010

I released Wednesday a new version of the web_translate_it rubygem. This update brings one new feature: the synchronisation console.

Introducing the Synchronisation Console

After installing the rubygem (gem install web_translate_it), go to your project directory and run:

wti server

It will start a server on the port 4000. Then, go over to http://localhost:4000 with your web browser and access the synchronisation console. It’s that easy!

The synchronisation console displays all your language files, and whether or not they have been committed to your repository (it only works if you use git) and if a new version of your language file is available on Web Translate it. You can also download the latest version of your language files by just clicking a button.

What is it for?

A translation team works on translating your application. Every time translators want to test their work in your application (to see if a translation fits or doesn’t break your app, for example) they have to ask a developer to pull the translation files from Web Translate It. Using this tool, they can now do it by themselves.

Setup wti server on a staging website, give your translation team access to both the staging site and the synchronisation console and you have an almost effortless way to increase the quality of your translations.

Advanced Usage

I made this tool very extensible. You can choose the host name and the port you want to start the server on. You can also setup hooks in the configuration file, so you can for example restart the application server after refreshing the language files, and regenerate the site if you work a static site.

To learn more about this, please refer to the tool documentation.

All credit goes to Tom Lea from for his excellent rack-webtranslateit. I pinched his idea and made it less specific to ruby projects, so it can be used for pretty much any kind of application.