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.0.6 released

Posted by Edouard on 13 de marzo de 2013

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

This new version lets you pass a file path to the wti push command, so you can now do: wti push path/to/file.

This version also removes a dependency on the JSON library, so it should now be possible to web_translate_it without building tools installed.


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.0.3 released

Posted by Edouard on 09 de agosto de 2012

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

This version 2.0.3 is a minor new version which includes a few improvements and bug fixes. It also restores the compatibility with ruby 1.8.6.

You can read about all the changes in the history file on Github.


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.

i18next

Posted by Edouard on 22 de diciembre de 2011

i18next is a third-party i18n Javascript library you might find useful for localizing Javascript in your application.

Add the i18next.js after the jquery JavaScript.

<script type="text/javascript" src="jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="i18next-[version].js"></script>

Add your resourcefile under /locales/en-US/translation.json. Translations are stored in a JSON hash compatible with WebTranslateIt’s JSON.

{
    "app": {
        "name": "i18n"
    },
    "creator": {
        "firstname": "Jan",
        "lastname": "Mühlemann"
    }
}

Init and use the module:

$.i18n.init({}, function(t) { // will init i18n with default settings and set language from navigator
    var appName = t('app.name'); // -> i18n
    var creator = t('creator.firstname') + ' ' + t('creator.lastname'); // -> Jan Mühlemann
});

web_translate_it rubygem v1.9.2 released

Posted by Edouard on 21 de diciembre de 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.

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).

web_translate_it rubygem v1.9.0 released

Posted by Edouard on 23 de noviembre de 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.0 essentially deprecates and removes the wti server command. This command was introducing a dependency on the web server Sinatra, which is far from desirable when including web_translate_it on a Rails application.

If you need wti server, don’t worry: this command now lives in a separate gem called web_translate_it_server, which is an extension for the web_translate_it gem.

To get wti server back, execute:

gem install web_translate_it_server

and then run the server with:

wti-server

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.

To install web_translate_it_server, type in a terminal: gem install web_translate_it_server.