ArticleslgStudy

computer science

Open Language Tools

Open Language Tools is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Open Language Tools rather than just read about it. In short: Open Language Tools is a Java project released by Sun Microsystems under the terms of Sun's CDDL (a GPL-incompatible free software license). Open Language Tools are intended for people who are involved in translation of software and documentation into different natural languages (localisation engineers, translators, etc.).

Key takeaways

  • Open Language Tools belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Open Language Tools to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Open Language Tools from memory before moving on to harder problems.

Reference excerpt

Open Language Tools is a Java project released by Sun Microsystems under the terms of Sun's CDDL (a GPL-incompatible free software license). Open Language Tools are intended for people who are involved in translation of software and documentation into different natural languages (localisation engineers, translators, etc.). They are based around common localisation industry standard file formats such as XLIFF and TMX. Open Language Tools consist of the XLIFF Filters designed to convert different source file formats to XLIFF and the XLIFF Translation Editor which is designed to read and edit XLIFF files. They are written in Java and run on Windows, Mac OS, or Linux as long as Java J2RE (at least 1.4.2) is installed.

Workflow

XLIFF Filters This is an application designed to convert different source file formats to an XLIFF format. It is currently based around the XLIFF 1.0 specification. The conversion is simple. Launch the filters, drag and drop a source file on the application, and the file will be converted to a .xlz file in the same directory as the source file. What basically happens is that the filter:

reads and parses the source file, separates the translatable portions of the text from the non-translatable portions by breaking the file into blocks further segments the translatable blocks into smaller sections, typically sentences, and writes the XLIFF file (.xlf) and the skeleton file (.skl) which are further bundled within a zip archive with the .xlz extension.

XLIFF Translation Editor This is an application which is made for translating the contents of XLIFF files. As the XLIFF format itself is quite complex and not very user friendly (especially to people not familiar with XML), XLIFF Translation Editor was developed to make the translation and editing much more feasible. Upon opening it shows the user two major panes with the source and target language. The text is segmented and marked – whether it is translated or untranslated, whether it has any 100% matches or fuzzy translations suggested from other applications that may have processed the XLIFF file in the past. The source and target segments are shown in order to give the translator the full context and they are directly editable. Initially, the translator creates a Project into which either an .xlf or .xlz files are inserted. The central part of the editor is the “Mini-TM”, a simple file-based database with all source and target segments from the current project, which is being automatically updated. As soon as the translator starts translating a segment which has already been translated, the target segment is automatically inserted based on the Mini-TM. Similarly, the Mini-TM suggests fuzzy matches. Segments can be marked as approved, reviewed, unreviewed, problematic, Mini-TM translations or user translations. There is also a mechanism to display notes from the source documents (typically from formats like .po files or from other translators). There is a back-conversion tool integrated into the editor which converts the XLIFF files to their original format. For each XLIFF file, it is possible to create a translation memory (TMX) file, which can be later used to update the central translation database.

Supported files

Documentation file types HTML DocBook SGML JSP XML (generic - needs a configuration file for each XML type) OpenOffice.org: sxw, sxc, sxi Open Document Format: odw, odc, odi Plain text

Software file types PO (gettext) Msg/tmsg (catgets) Java .properties Java ResourceBundle Mozilla .DTD resource files

See also Translation memory Computer-assisted translation Office Open XML software OpenDocument software OmegaT

References

External links Open Language Tools - Official Open Language Tools website Open Language Tools download Archived 2012-10-02 at the Wayback Machine – Download Open Language Tools Free Language Tools – Free Language tools of Websites User's Manual to XLIFF Translation Editor XLIFF Translation Editor demo Help to improve Open Language Tools

Worked examples

Example 1 — a first encounter with Open Language Tools

Start with the simplest possible case. Write down what Open Language Tools claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Open Language Tools before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Open Language Tools ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Open Language Tools

In research
Open Language Tools appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Open Language Tools in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Open Language Tools is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-assisted translation software programmed in Java, Free software programmed in Java, Software-localization tools, so understanding it makes those chapters shorter.
In everyday life
Look for Open Language Tools outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Open Language Tools” →

How to study Open Language Tools in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Open Language Tools means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Open Language Tools out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Open Language Tools in simple terms?

Open Language Tools is a Java project released by Sun Microsystems under the terms of Sun's CDDL (a GPL-incompatible free software license). Open Language Tools are intended for people who are involved in translation of software and documentation into different natural languages (localisation engin…

Why does Open Language Tools matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Open Language Tools?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Open Language Tools.

Tags

  • Computer-assisted translation software programmed in Java
  • Free software programmed in Java
  • Software-localization tools
  • Software using the Common Development and Distribution License

Keep exploring