The WebTranslateIt Blog

About WebTranslateIt.com

WebTranslateIt.com is a web-based translation tool to translate documents and software.

Learn more at WebTranslateIt.com.

Recent posts in the same category

web_translate_it rubygem v2.2.1 released

Posted by Édouard Brière on January 28, 2014

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

wti synchronization tool

New Features

This new version adds one new feature. The configuration file can now include a needed_locales option. Contrary to the other option ignore_locales, needed_locales is an array containing all the locales you want to sync with WebTranslateIt.

Here’s an example of .wti configuration file using needed_locales:

# The Project API Token from Web Translate It
api_key: SECRET

# Optional: locales not to sync with Web Translate It.
# Takes a string, a symbol, or an array of string or symbol.
# More information here: https://github.com/AtelierConvivialite/webtranslateit/wiki
# ignore_locales: :en

# Or if you prefer a list of locales to sync with WebTranslateIt:
needed_locales: [en, fr, it]

# Optional
# before_pull: "echo 'some unix command'"   # Command executed before pulling files
# after_pull:  "touch tmp/restart.txt"      # Command executed after pulling files
#
# before_push: "echo 'some unix command'"   # Command executed before pushing files
# after_push:  "touch tmp/restart.txt"      # Command executed after pushing files

We also upgraded one library dependency in this version.


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.