Sunday, August 7, 2016

[Update:: .tbx] Translation Memory File (.tmx) viewer & editor (open source software)

[TmxViewer update 8/15/2016]
The viewer now has its own Search box. Only segments in which one or more table cells match the search term will be displayed. To reset, click the filename link in the header.
Entries in the "search results" view can now be edited. 
[end update]

Linguists, project managers, or simply curious people now have an easy centralized means of viewing multi-language files that use the standard "tmx" format.

We have put a copy of the description found on the viewer download website at the end of this post and added a couple of screenshots taken during evaluation.

The tool is primarily meant as a viewer, but it does offer limited editing capability as described here.

Once deployed on an application server, users can access the viewer in the web browser by going to <server>:<port>/tmx/.

This brings up a home screen similar to the following. TMX files previously uploaded are automatically available as clickable links at the top of the page, as shown here.

Clicking on a table cell makes it editable. Moving the cursor out of the editable area causes the browser to send the change to the server. There, it is saved in a new file with the name "output.tmx".

The description on the website notes that there is no mechanism for "concurrent" editing. More than one user can, however, work on the "output.tmx" file. As a workaround, rename the tmx you want to work on to "output.tmx", then perform any edits.
Users will have to refresh their view every now and then (the viewer does not notify) in order to see everybody's changes.

Tag protection is not available in the current version. It would need to be added to make it a production editor.

   What is the TmxViewer?
    A web application that allows to upload TMX files to a server for viewing over the network.
    Once deployed, users go to http://server:port/tmx to get the index page.
    The rest is self explanatory.

    Files are uploaded into the directory "uploads" under "user.home". The folder will be
    created on first use if it does not exist.

    The content of a tmx file is displayed in a table that has as many columns as the tmx has 
    languages (xml:lang attribute values).

    To edit an entry, click it, and make the desired change.
    When the mouse cursor leaves the text field, the change is sent to the server. The changed
    file is saved under the name "output.tmx". 

    NOTE: In this initial version, there is no synchronization for different concurrent users.
    You can, however, collaborate using the output.tmx (rename a desired file to output.tmx).

    Download the   .war file here.  or get the Netbeans sources 
     Netbeans sources with all libraries and build it yourself.

    Requirements: Java 1.8 and Tomcat 8.x (8.0.27 or higher, or equivalent).

    The TmxViewer is brought to you by

No comments:

Post a Comment