The WebTranslateIt Blog

i18n news and Product Updates about WebTranslateIt

Significant changes to the YAML File Handler

By Edouard on February 24, 2012

I pushed quite a few changes to the YAML Handler in the last few months. This post is fairly technical, but if you use WebTranslateIt to localize your YAML files, read on.

Yamler changes

The biggest change is that I updated the YAML handler to handle both files dumped by Syck and Psych. Syck is an old and buggy YAML parser, which is replaced by Psych in Ruby 1.9.3. The problem is, YAML files dumped with Syck are not always parseable with Psych.

Since some users still upload projects using Syck, WebTranslateIt recognize both: it first tries to read your file using Psych. If it fails, it tries to read it using Syck.

The YAML files generated by WebTranslateIt are made with ya2yaml, another ruby library, which is both Syck and Psych compatible.

String ordering

Until a few weeks ago, strings in YAML files were alphabetically sorted. It means that WebTranslateIt probably wasn’t keeping the strings in your file in the same order you uploaded them.

WebTranslateIt now saves the order of your strings, and exports them in the same exact order.

I hope you will find these two changes to how YAML files are handled useful. Thank you for localizing your app with WebTranslateIt!

Download your WebTranslateIt TermBase as a TBX file

By Edouard on January 20, 2012

I pushed a few improvements to the TermBase. One of these improvements is the ability to download your TermBase as a TBX File.

TBX (TermBase eXchange) is an industry standard for exchanging glossaries between translation tools.

The green button will let you download all the language pairs in a single TBX file. You can also download specific language pairs by clicking on the small button to the right.

This improvement is also available as an API endpoint: the TermBase to TBX endpoint.

New API endpoints: zip_file and top_translators

By Edouard on January 18, 2012

I added two new API endpoints to WebTranslateIt’s API lately: zip_file and top_translators.

I hope you will find these new endpoints useful. Thank you for using WebTranslateIt.

WordReference Integration

By Edouard on January 18, 2012

WebTranslateIt’s integrated dictionary just got updated and now use WordReference.com as a source.

WordReference is one of the best dictionary website on the web and is well-liked among the translator’s community. It is now perfectly integrated to WebTranslateIt, so you can lookup words without leaving the translation interface.

Even better: you can request a definition for any word in the translation interface: select a word, press the d key and get definitions and translations without leaving WebTranslateIt.

I hope you will find this improvement to WebTranslateIt useful.