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 gem v1.8.0.0 released

Posted by Edouard on 31 de mayo de 2011

I just released a new version of the web_translate_it gem, which includes important performance improvements and a few minor bugs fixes.

Downloading and uploading your language files is noticeably faster with this version (especially if you have a lot of files to sync).

Here’s the changelog:

  • New: Faster file transfers using KeepAlive’d connection.

  • New: Verify SSL certificate on connection.

  • Fix: More detailed error messages on unconfigured projects. Ticket #56

  • Fix: wti init now checks if the configuration file is writable. Ticket #35

  • Remove rake tasks. Rake tasks were removed as it is preferred and more performant to sync your project using the wti executable. Should you want the rake tasks back on your project, see how to add them in your project on the wiki.

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 gem v1.7.3.1 released

Posted by Edouard on 06 de mayo de 2011

I just released a new version of the web_translate_it gem, which fixes two minor bugs.

Here’s the changelog:

  • Fix: Broken links on wti server.

  • Fix: Avoid crashes on blank checksums (ticket #53). This bug could happen when the file checksum is not yet calculated by WTI server, typically when doing a wti push then a wti pull too quickly.

  • Update Sinatra to 1.2.6.

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.

API update and web_translate_it gem v1.7.3.0 released

Posted by Edouard on 12 de abril de 2011

Web Translate It’s Project API endpoint now serve a new attribute: the language file checksum, generated by SHA-1.

The new version of the web_translate_it gem use file checksums to check if the language files need to be pulled or not. It used to compare the timestamp of the local file’s last modification against the timestamp of last modification served by Web Translate It, but comparing file checksums is much more reliable and should fix a few issues a few customers were having.

Upgrade

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


We’re currently processing the checksum for each of the 58,000 language files hosted on Web Translate It and it is taking a while. The file checksum might not be available for the endpoint for your project yet, but it’s coming really soon.

web_translate_it gem v 1.7.2.1 released

Posted by Edouard on 31 de marzo de 2011

I just released a new version of the synchronisation client wti for Web Translate It. wti is a powerful command line tool to synchronise your local translation files with the Web Translate It service.

This is a minor release. It includes one bug fix. You can read more about it in the changelog.

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

web_translate_it gem v 1.7.2.0 released

Posted by Edouard on 10 de marzo de 2011

I just released a new version of the synchronisation client wti for Web Translate It. wti is a powerful command line tool to synchronise your local translation files with the Web Translate It service.

This is a somewhat important release . It includes several new features, and deprecates a few commands.

New features

Hooks

The before_pull and after_pull hooks now work within wti pull. Prior to this version they were only used by the synchronisation server.

There are also 2 new hooks: before_push and after_push, which are executed before and after pushing new translations.

These hooks can be defined in the configuration file.

Here’s an example:

api_key: sekret

# Optional: locales not to sync with Web Translate It.
# eg. [:en, :fr] or just 'en'
# ignore_locales: 'en'

# Optional hooks
before_pull: "say 'before pull'"
after_pull:  "say 'after pull'"
before_push: "say 'before push'"
after_push: "say 'after push'"

Multi-locales push and pull

wti pull -l and wti push -l now accept several locales passed as an argument. So you can do:

$ wti pull -l "fr en ja kr"

Which will pull your language files for French, English, Japanese and Korean.

Better help

Under the hood, we replaced the option parser. The new parser gives better control over the accepted options. Each command now has its own help topic, by appending --help. For instance you can type: wti pull --help which gives:

Usage: wti <command> [options]+

The most commonly used wti commands are:

  pull        Pull target language file(s)
  push        Push master language file(s)
  match       Display matching of local files with File Manager
  add         Create and push a new master language file
  addlocale   Add a new locale to the project
  server      Start a synchronisation server
  status      Fetch and display project statistics
  init        Configure your project to sync      

See `wti <command> --help` for more information on a specific command.

[options] are:
  --config, -c:   Path to a translation.yml file (default: .wti)
     --version, -v:   Print version and exit
        --help, -h:   Show this message

Colour!

wti now use some colour and display successes in green, and failures in red.

Deprecations

  • wti autoconf displays a deprecation warning. This command will be deprecated in a future version in favour of wti init.
  • wti stats displays a deprecation warning. This command will be deprecated in a future version in favour of wti status. A new alias wti st has also been created.
  • wti push --ignore_missing and wti push --low_priority were replaced by wti push --ignore-missing and wti push --low-priority.

Upgrade

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