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

New in WebTranslateIt: Improvements to PHP Laravel and JSON files support

Posted by Estelle on September 19, 2017

We released an update to the language file handler on WebTranslateIt. We improved the Laravel file handler and the JSON file handler. Other improvements will come along the way.

Support for short-hand arrays in PHP Laravel files

WebTranslateIt now supports short-hand arrays in PHP Laravel files.

Instead of uploading PHP Laravel files containing arrays defined like this:

<?php
return array(
  'foo' => array(
    'subject' => 'Test'
  ),
  'bar' => array(
    'subject' => 'Test 2'
  )
);

You can now upload and download language files looking like that:

<?php
return [
  'foo' => [
    'subject' => 'Test'
  ],
  'bar' => [
    'subject' => 'Test 2'
  ]
];

Custom indentation for JSON files

WebTranslateIt indents all the language files with spaces 😂 but we believe that it is a matter of taste and we shouldn’t impose our spaces indentation. It also makes huge diffs when you download back your language files to version control.

Starting today when uploading a JSON file it detects which kind of indentation you are using (2 spaces, 4 spaces, 1 tab, 2 tabs) and it saves this information to database. When generating your JSON language file we will put your original indentation back on.

More importantly, we laid the ground work for having this feature working for all files handlers. We’ll add custom indentation support for all the other file formats soon.


Want more? Follow us on Facebook and Twitter

New in WebTranslateIt: HTML validations

Posted by Edouard on August 10, 2017

We released an update to the translation validator so that it now inspects and detects eventual problems in the HTML code in the translations.

If some HTML code of a translation is missing or differs from the HTML code of the source text a warning message will be displayed. This will help increase the quality of the translator’s translations.

Here’s an example of when a translation’s HTML tag is missing or is completely different:

And when a translation HTML code is not properly balanced.

We also added new validation code to check the number of line breaks is identical in the source and target text:

As usual, validation warning messages are just warnings. You can always click on “Skip Validation” to save your translation anyway.

We hope you will find these improvements useful. Thank you for using WebTranslateIt.

Want more? Follow us on Facebook and Twitter