web_translate_it rubygem v1.9.2 released

By Edouard on December 21, 2011

I just released a new version of the web_translate_it gem, the open-source synchronization tool for Web Translate It.

This version 1.9.2 introduces a few bug fixes and improvements.


  • wti now includes a library to connect to the String and Translation APIs. This improvement was contributed by @bray.

This greatly facilitates building tools around WebTranslateIt to manipulate strings and translations. Developers can have a look at WebTranslateIt::String and WebTranslateIt::Translation classes.

  • The configuration file lookup (the -c option) was improved. Configuration files can now be located in another directory, and wti commands don’t have to be executed in the root directory. It is now possible to execute:
$ wti pull
$ wti pull -c /Users/edouard/code/test/.wti
$ wti pull -c ../.wti
$ wti pull -c ~/code/.wti

Bug fixes

  • wti init was crashing on empty projects without a source locale. It now returns an error message.
  • wti pull was failing for requests made after a 102 Processing. This status code meant that the file was currently being processed and couldn’t be fetched. In order to fix this bug, the 102 Processing status code was replaced by 503 Service Unavailable server side. The client now handles 503 errors and wti pull doesn’t skip files after attempting to pull an unavailable file.
  • wti status wasn’t working properly.

Install or Upgrade

To install web_translate_it, please refer to the gem documentation.

To upgrade web_translate_it to its latest version, type in a terminal: gem install web_translate_it.

Update 21/12/2011: I just released wti v1.9.3, which fixes a small incompatibility with old versions of ruby (ruby < 1.9).