About WebTranslateIt.com

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

Learn more at WebTranslateIt.com.

Subscribe to our newsletter

Get our monthly newsletter about WebTranslateIt’s latest features.

Recent posts

web_translate_it rubygem v2.4.11 released and DockerHub build

Posted by Edouard on October 25, 2019

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

wti synchronization tool

Our synchronization tool is very stable now, so we do very few releases. When we do, it’s mostly tiny bug fixes and features requested by our customers.

New Feature

There have been several releases since the last release announcement (for web_translate_it 2.4.0) on the blog.

We implemented one new features: the ability to move files with the wti mv source target command.

Here’s what is new since that version from the changelog

Version 2.4.11

  • New command: wti mv path/to/file.po newpath/to/file.po to move a language file both on your local working directory and on your WebTranslateIt project.

Version 2.4.9 / 2019-08-07

Version 2.4.8 / 2018-09-06

  • Update deprecated gem Trollop to Optimist.

Version 2.4.7 / 2018-03-28

  • Add an option to .wti file to silence SSL errors.

Version 2.4.6 / 2018-02-28

  • Fix SSL issue.

Version 2.4.5 / 2017-12-21

  • Fix issue pulling multiple files. #142

Version 2.4.4 / 2017-11-27

  • Fix issue on wti status command.

Version 2.4.3 / 2017-11-22

  • Clearer error message when no files to push. #136
  • New: ability to pull by file name and language. #133 Example: wti pull config/locales/app/* -l en
  • New: wti pull [filepath] now pulls files matching a glob match on the files hosted on WebTranslateIt.com (instead of relying on shell’s list of files which might not exist on the first pull). Close #137. This shouldn’t change existing commands but allows typing something like: wti pull config/locales/*/en.yml to download only the en files.
  • Fix: Report error messages when running commands such as:
    • wti rmlocale xxx
    • wti addlocale xxx
    • wti status #139

Version 2.4.2 / 2017-09-28

  • Fixed an issue where a file would not be created if its content was empty.

Version 2.4.1 / 2016-02-03

  • wti status now returns a status code when a project is not 100% translated or not 100% proofread. #127 Status codes are:
    • 100 if not 100% translated,
    • 101 if not 100% proofread,
    • 0 if project is 100% translated and proofread.
  • wti init now returns a successful status code. #126

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.

DockerHub build

We released a DockerHub build for our wti client tool. So you shouldn’t have to install the whole ruby stack if you want to use wti.

To use it, simply install Docker and run: docker pull webtranslateit/webtranslateit

web_translate_it rubygem v2.4.0 released

Posted by Edouard on October 12, 2015

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

wti synchronization tool

New Features

There have been several releases since the last release announcement (for web_translate_it 2.2.1) on the blog.

Here’s what is new since that version from the changelog

Version 2.4.0 / 2015-08-10

  • Now returns correct exit codes. 0 if command successful, 1 if any error has occurred.
  • Limit the amount of retries to 3 on timeout.

Version 2.3.4 / 2014-05-23

  • Add --debug option to turn on debug output.

Version 2.3.3 / 2014-05-22

  • Use longer timeout.

Version 2.3.1 / 2014-05-07

  • The .wti configuration file is now parsed by ERB so the API token can be stored in an environment variable instead of in the .wti file. Fixes issue #118

Version 2.3.0 / 2014-04-18

  • Deprecate wti push --all. This command was replaced by wti push --target, which is slightly different since it only pushes target locales. The --all option was deprecated because pushing all source and target files at the same time can cause synchronization issues under some circumstances.
  • Add new wti push --target command to push target files only.
  • Read more about these changes the blog: https://webtranslateit.com/en/blog/posts/264-Updates-to-synching-behaviour

Version 2.2.2 / 2014-03-13

  • Fix deprecation warning. #112

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.

web_translate_it rubygem v2.2.1 released

Posted by Edouard 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.

Automate your Java apps file sync with wti-maven-plugin

Posted by Edouard on November 14, 2013

wti-maven-plugin is a new plugin for Apache Maven made by Julien Redondo. It automates the file syncing between your Maven server and WebTranslateIt.

3 commands are available:

  • mvn wti:init to initialize your translation files on WebTranslateIt,
  • mvn wti:push to push your files to WebTranslateIt,
  • mvn wti:pull to update your files with the latest version from WebTranslateIt.

I am sure many people will find this Maven plugin useful. wti-maven-plugin is open-source (GPL v3) and available on GitHub.

web_translate_it rubygem v2.1.6 released

Posted by Edouard on August 28, 2013

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

wti synchronization tool

Fixes

This new version fixes an issue with autofetch for Ruby on Rails projects.

Improvements

This new version adds one new feature to the wti pull command. It now lets you specify a file path or a directory path to pull. For instance wti pull config/locales/javascripts/* will only pull the files located in the config/locales/javascripts directory.

$ wti pull config/locales/js/*
# Pulling files on WebTranslateIt
 config/locales/js/en.yml                           | 27443c4..27443c4  Skipped
 config/locales/js/fr.yml                           | f161bb9..f161bb9  Skipped
Pulled 2 files at 6 files/sec, using 1 threads.

Another improvement is that all commands now report the current project’s name. This is useful for larger projects spread accross different WebTranslateIt projects.


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.