web_translate_it rubygem v2.4.11 released and DockerHub build
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.
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
- Fix issue referencing old
Trollop
library. #149 - Fix issue with SSL certificates. If you encounter any issues you will need to update your CA certificates please visit this help: https://github.com/AtelierConvivialite/webtranslateit/wiki/Update-CA-certificates
Version 2.4.8 / 2018-09-06
- Update deprecated gem
Trollop
toOptimist
.
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 theen
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