Reference Model for Open Architecture for XML Authoring and Localization Version 1.0
Committee Specification 01
12 December 2009
Specification URIs:
This Version:
http://docs.oasis-open.org/oaxal/V1.0/cs01/oaxal-v1.0-cs01.html (Authoritative)
http://docs.oasis-open.org/oaxal/V1.0/cs01/oaxal-v1.0-cs01.pdf
Previous Version:
http://docs.oasis-open.org/oaxal/V1.0/cd02/oaxal-v1.0-cd02.html (Authoritative)
http://docs.oasis-open.org/oaxal/V1.0/cd02/oaxal-v1.0-cd02.pdf
Latest Version:
http://docs.oasis-open.org/oaxal/V1.0/oaxal-v1.0.html
http://docs.oasis-open.org/oaxal/V1.0/oaxal-v1.0.pdf
Technical Committee:
Open Architecture for XML Authoring and Localization (OAXAL) TC
Chair(s):
Andrzej Zydroń
Editor(s):
Andrzej Zydroń
Derek Saldana
Related Work:
This specification replaces or supercedes:
N/A
Declared XML Namespace(s):
N/A
Abstract:
The Open Architecture for XML Authoring and Localization (OAXAL) provides a comprehensive, efficient, and cost-effective model for building an XML lifecycle production framework based completely on Open Standards from OASIS, LISA OSCAR and W3C.
Status:
This document was last revised or approved by the OAXAL TC on the above date. The level of approval is also listed above. Check the "Latest Version" or "Latest Approved Version" location noted above for possible later revisions of this document.
Technical Committee members should send comments on this specification to the Technical Committee's email list. Others should send comments to the Technical Committee by using the "Send A Comment" button on the Technical Committee's web page at http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=oaxal.
For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the Technical Committee web page (http://www.oasis-open.org/committees/oaxal/ipr.php).
The non-normative errata page for this specification is located at http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=oaxal.
Notices
Copyright © OASIS® 2009. All Rights Reserved.
All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.
This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.
This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.
OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.
OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.
The names "OASIS", "OAXAL" are trademarks of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see http://www.oasis-open.org/who/trademark.php for above guidance.
Table of Contents
1.2 A Reference Model for Open Architecture for XML Authoring and Localization
1.3 Audience
1.4 Guide to using the reference model
2 Open Architecture for XML Authoring and Localization
2.1 Authoring and Localization Reference Workflow
2.2 OAXAL Components
2.2.1 Unicode
2.2.2 XML
2.2.3 W3C ITS
2.2.4 Unicode TR29
2.2.5 SRX
2.2.6 xml:tm
2.2.7 GMX
2.2.8 TMX
2.2.9 XLIFF
2.3.1 Unicode TR29
2.3.2 SRX
2.3.3 W3C ITS
2.3.4 xml:tm
2.3.5 GMX/V
2.3.6 XLIFF
2.4.1 The Traditional Localization Workflow
2.4.2 OAXAL Localization Workflow
3.1 OAXAL within a CMS environment
3.1.1 Authoring Workflow
3.1.2 Localization Workflow
3.2 OAXAL within a Localization-only Workflow
3.3 OAXAL Operations
3.3.1 SEEDING
3.3.2 DIFFING
3.3.3 EXTRACTION
3.3.4 MERGING
3.3.5 PACKING
3.3.6 STRIPPING
A. Glossary
1 Introduction
The Open Architecture for XML Authoring and Localization (OAXAL) represents a comprehensive, efficient, and cost-effective model regarding the authoring and translation aspects of XML publishing. OAXAL encompasses the following key Open Standards:
XML - Extensible Markup Language (XML) is a simple, flexible text format originally designed to meet the challenges of large-scale electronic publishing. XML also plays an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
Unicode - A character encoding scheme that encompasses all character sets.
W3C ITS - An XML vocabulary that defines translatability rules for a given XML document type.
SRX - Segmentation Rules eXchange, a LISA OSCAR standard defining text-subdivision rules for each language.
xml:tm - XML-based text memory, a LISA OSCAR standard for author memory (a history of segments and revisions) and translation memory (a history of translated segments).
GMX - Global Information Management Metrics Exchange, a LISA OSCAR standard for word and character count and metrics (for volume, complexity, and quality) exchange.
TMX - Translation Memory eXchange, a LISA OSCAR standard for exchanging translation memories.
Unicode TR29 - The primary Unicode standard defining word and sentence boundaries.
Open Standard XML Vocabularies, including DITA, Docbook, XHTML, SVG, ODF, and others that may emerge as standards.
XLIFF - XML Localization Interchange File Format, an OASIS standard for exchanging Localization data.
The architectural model for OAXAL is as follows:
Figure 1: OAXAL Standards Component Stack
The following diagram represents the interaction of the key OAXAL standards:
Figure 2: OAXAL Interaction of Standards
This diagram is annotated and described in detail in subsequent parts of this document. OAXAL is designed to cope with the common requirements for XML authoring and Localization. The authoring plus Localization aspects of OAXAL are most effective within a Content Management System (CMS) environment. For a translation-only workflow, OAXAL can be implemented without a CMS system.
OAXAL is designed to integrate tightly and transparently within the document-life-cycle workflow model which includes:
For the translation-only environment, OAXAL provides an elegant and open architecture for processing XML documents for translation.
1.1 What is a reference model
A reference model is an abstract framework for understanding significant relationships among the entities of some environment. It enables the development of specific reference or concrete architectures using consistent standards or specifications supporting that environment. A reference model consists of a minimal set of unifying concepts, axioms, and relationships within a particular problem domain and is independent of specific standards, technologies, implementations, or other concrete details.
As an illustration of the relationship between a reference model and the architectures that can derive from such a model, consider what might be involved in modeling important aspects of residential housing. In the context of a reference model, we know that concepts such as eating areas, hygiene areas, and sleeping areas are all important in understanding what goes into a house. There are relationships among these concepts and constraints on their implementation. For example, there may be a physical separation between eating areas and hygiene areas.
The role of a reference architecture for housing would be to identify abstract solutions to the problems of providing housing. A general pattern for housing, one that addresses the needs of its occupants in the sense of, say, noting that there are bedrooms, kitchens, hallways, and so on is a good basis for an abstract reference architecture. The concept of "eating area" is a reference model concept; a kitchen is a realization of "eating area" in the context of the reference architecture.
There may be more than one reference architecture that addresses how to design housing; for example, there may be a reference architecture to address the requirements for developing housing solutions in large apartment complexes, another to address suburban single family houses, and another for space stations. In the context of high-density housing, there may not be a separate kitchen but rather a shared cooking space or even a communal kitchen used by many families.
An actual – or concrete – architecture would introduce additional elements. It would incorporate particular architectural styles, particular arrangements of windows, construction materials to be used, and so on. A blueprint of a particular house represents a specific architecture as it applies to a proposed or an actual constructed dwelling.
The reference model for housing is, therefore, at least three levels of abstraction away from a physical entity that can be lived in. The purpose of a reference model is to provide a common conceptual framework that can be used consistently across different implementations and is of particular use in modeling specific solutions.
1.2 A Reference Model for Open Architecture for XML Authoring and Localization
The goal of this reference model is to define the component parts of XML publishing with respect to the authoring and Localization aspects of the process. It provides a normative reference that remains relevant for OAXAL as a comprehensive model.
The OAXAL standards components stack shows how the reference model for OAXAL is constructed from its constituent Open Standards. The concepts and relationships defined by the reference model are the basis for describing the reference architecture.
Architecture must account for the goals, motivation, and requirements that define the actual problems being addressed. While reference architectures can form the basis of classes of solutions, concrete architectures will define specific solution approaches.
Architecture is often developed in the context of a pre-defined environment, such as the protocols, profiles, specifications, and standards that are pertinent.
OAXAL implementations combine all of these elements, from the more generic architectural principles and infrastructure to the specifics that define the current needs, and represent specific implementations that will be built and used in an operational environment.
1.3 Audience
The intended audiences of this document include (non-exhaustively):
1.4 Guide to using the reference model
New readers are encouraged to read this reference model in its entirety. Concepts are presented in an order that the authors hope promote rapid understanding.
This section introduces the conventions, defines the audience, and sets the stage for the rest of the document. Non-technical readers are encouraged to read this information because it provides background material necessary to understand the nature and use of reference models.
The Open Architecture for XML Authoring and Localization section introduces the concept of OAXAL and identifies some of the ways that it differs from previous paradigms for authoring and translation systems. This section offers guidance on the basic principles of OAXAL. This section can be used by non-technical readers to gain an explicit understanding of the core principles of OAXAL and by architects as guidance for developing OAXAL-based architectures.
The Reference Model section introduces the Reference Model for OAXAL.
The Conformance Guidelines section addresses compliance with this reference model.
The glossary provides definitions of terms within the reference-model specification but does not necessarily form part of the specification itself. Terms that are defined in the glossary are marked in bold at their first occurrence in this document.
Note that while the concepts and relationships described in this reference model may apply to other "service" environments, the definitions and descriptions contained herein focus on the field of software architecture and make no attempt to completely account for use outside of the software domain. Examples included in this document that are taken from other domains are used strictly for illustrative purposes.
1.5 Notational Conventions
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in RFC2119.
1.6 Normative References
[W3C ITS] Internationalization Tag Set (ITS) Version 1.0 http://www.w3.org/TR/2007/REC-its-20070403/ 03 April 2007
[SRX] SRX 2.0 Specification http://www.lisa.org/Segmentation-Rules-e.40.0.html OSCAR Recommendation, 7 April 2008
[xml:tm] XML Text Memory (xml:tm) 1.0 Specification http://www.lisa.org/XML-Text-Memory-xml.107.0.html 26 February 2007
[GMX] Global Information Management Metrics Volume (GMX-V) 1.0 Specification http://www.lisa.org/Global-information-m.104.0.html Version 1.0, 26 February 2007
[TMX] Translation Memory eXchange format (TMX) Specification http://www.lisa.org/fileadmin/standards/tmx1.4/tmx.htm Version 1.4b, 26 April 2005
[Unicode TR29] Unicode Standard Annex #29 http://unicode.org/reports/tr29/ Unicode 5.1.0 2008-03-25
[DITA] OASIS Committee Specification 01, Darwin Information Typing Architecture Version 1.1, May 2007. http://docs.oasis-open.org/dita/v1.1/CS01/overview/overview.html
[DocBook] OASIS Committee Specification, DocBook 4.2, July 2002. http://www.docbook.org/specs/cs-docbook-docbook-4.2.pdf
[XHTML] XHTML™ 1.1 - Module-based XHTML - Second Edition http://www.w3.org/TR/xhtml11/ W3C Working Draft 16 February 2007
[SVG] Scalable Vector Graphics http://www.w3.org/TR/SVG12/ Working Draft 1.2, April 2005
[ODF] OASIS Standard, Open Document Format for Office Applications (OpenDocument) 1.1, February 2007. http://docs.oasis-open.org/office/v1.1/OS/OpenDocument-v1.1-html/OpenDocument-v1.1.html
[XLIFF] OASIS Standard, XML Localization Interchange File Format (XLIFF) 1.2, February 2008. http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html
1.7 Non-Normative References
[LISA] Localization Industry Standards Association
[LISA OSCAR] LISA Open Standards for Container/content Allowing Reuse
[OASIS] Organization for the Advancement of Structured Information Standards
[W3C] The World Wide Web Consortium
2 Open Architecture for XML Authoring and Localization
Open Architecture for XML Authoring and Localization (OAXAL) is a reference model of how to construct an effective and efficient system for XML authoring and Localization based on Open Standards. OAXAL comprises the following standards:
XML -- Extensible Markup Language (XML) is a simple, flexible text format originally designed to meet the challenges of large-scale electronic publishing. XML also plays an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
Unicode - A character encoding scheme that encompasses all character sets.
W3C ITS W3C ITS - An XML vocabulary that defines translatability rules for a given XMLdocument type.
Unicode TR29 - The primary Unicode standard defining word and sentence boundaries.
SRX - Segmentation Rules eXchange, an XML vocabulary defining segmentation rules for each language.
xml:tm - XML-based text memory, a LISA OSCAR standard for author and translation memory.
GMX - Global Information Management Metrics Exchange, a LISA OSCAR standard for word and character count and metrics exchange.
TMX - Translation Memory eXchange, a LISA OSCAR standard for exchanging translation memories.
Open Standard XML Vocabularies, including DITA, Docbook, XHTML, SVG, ODF, and others that may emerge as standards.
XLIFF - XML Localization Interchange File Format, an OASIS standard for exchanging Localization data.
This Reference Model will demonstrate the integration of the standards listed above to present a complete automated package from authoring through translation; additional standards may be added by the Technical Committee (TC), and the TC may elect not to include (or to make optional) any of the standards listed above that prove, upon review, not to be feasible or useful to integrate in its profiles. Authors are provided with a systematic way to identify and store all previously authored sentences.
This Reference Model specifies how the standards listed can be used together to positive effect. Its main purpose is to encourage the integrated use of these standards. OAXAL may allow for some variation in how the standards are used and integrated. These will be defined in a subsequent Best Practices document.
2.1 Authoring and Localization Reference Workflow
Key to the concept of OAXAL are Authoring and Localization. Authoring in OAXAL implies XML-based source and the concept of a document lifecycle centered around some form of content management. Content management may be achieved by means of a fully fledged Content Management System (CMS) or a Source Control System (SCS). The document lifecycle implies one or more of the following stages:
OAXAL is designed to provide an effective and elegant solution to these requirements within an authoring/localization workflow:
Figure 3: Source Document Lifecycle
OAXAL can also be used to design Localization-only solutions. In this instance, a document is submitted for Localization. The format of the document may not be XML; nevertheless, OAXAL assumes a conversion to an XML form of the data prior to processing and a conversion back into the original format on completion. Translation/Localization comprises the following steps:
Figure 4: Document Localization Lifecycle
2.2 OAXAL Components
2.2.1 Unicode
Unicode provides the underlying character encoding for OAXAL. Although XML allows various encoding schemes based on 7 and 8 bits, OAXAL mandates full Unicode encoding, preferably using UTF-8 or UTF16 encoding. The benefits of using Unicode character encoding for OAXAL are as follows:
2.2.2 XML
The key characteristic of OAXAL is the use of an Open Architecture based on Open Standards with XML as the source format for both the document format and, in most cases, the vocabulary of the standards. XML underpins the foundations of OAXAL. The XML source content provides semantic and structured text that can be localized. XML provides many benefits regarding authoring and Localization:
At the center of authoring and Localization is the actual XML document text to be authored and/or localized. OAXAL encompasses all publishing-oriented Open Standard XML vocabularies such as DITA, Docbook, XHTML, SVG, ODF, and others that may emerge as standards. OAXAL may also be used with proprietary XML vocabularies or with non-XML based documents that are converted into a non-Open Standard XML format.
2.2.3 W3C ITS
W3C ITS is the Internationalization Tag Set Recommendation. ITS allows for the declaration of Document Rules for Localization. In effect, it provides a vocabulary that allows the declaration of the following for a given XML document type:
W3C ITS provides many more features, including a namespace vocabulary that allows for fine-tuning Localization for individual instances of elements within a document instance. W3C ITS is therefore at the core of XML Localization processing.
In OAXAL, W3C ITS stipulates the rules by which an XML document is localized in terms of its translatable content.
2.2.4 Unicode TR29
Unicode TR29 is the Unicode standard defining word and sentence boundaries. It allows for a uniform way of defining word boundaries for OAXAL and, as such, is used by SRX and GMX/V to tokenize text into individual words. It plays a fundamental role in OAXAL.
2.2.5 SRX
SRX - Segmentation Rules eXchange is an Open Standard XML vocabulary for defining the segmentation rules for a given language published by LISA OSCAR. Segmentation is an important aspect of both the authoring and Localization processes. SRX allows OAXAL to have a sentence-level granularity. SRX depends on Unicode TR29 in order to provide the basis for tokenizing text into individual words.
2.2.6 xml:tm
xml:tm is a namespace vocabulary providing a LISA OSCAR standard for author and translation memory. xml:tm is a key component of OAXAL. xml:tm introduces the concept of XML-based text memory that encompasses both in-document author memory and translation memory. In the xml:tm scenario, author and translation memory are embedded within the XML document, providing both an edit-change history of the document as well as the mechanism for 'In Context Exact' (ICE) translation-memory matching. ICE matching guarantees that the text-unit matches are from exactly the same source as the previous iteration of an updated document, as opposed to leveraged matching which cannot guarantee the provenance of a 100% match.
Given a W3C ITS rule set for a given XML vocabulary and the SRX segmentation rules for a given language, it is possible to construct a totally generic process for embedding the xml:tm text-memory namespace within the source document. xml:tm relies on W3C ITS and SRX. xml:tm allocates immutable unique identifiers to each translatable text content or a subdivision of such text content, resulting in identifiable individual sentences.
The key role of xml:tm within OAXAL is in preparing an XML document for further processing as well as providing the syntactical basis for ICE matching.
2.2.7 GMX
GMX - Global Information Management Metrics Exchange is a LISA OSCAR standard for word and character count and metrics exchange. GMX is a tri-partite set of standards:
Currently only GMX/V has been defined. GMX/V is a key component of OAXAL in terms of providing a uniform and consistent way of calculating the word- and character-count metrics for a given document or set of documents, as well as providing a way of embedding and exchanging such information. GMX/V depends on Unicode TR29 in order to provide the basis for tokenizing text into individual words. GMX/V also uses XLIFF as the canonical form for counting.
2.2.8 TMX
TMX - Translation Memory eXchange is a LISA OSCAR standard for exchanging translation memories. TMX is a key component of OAXAL, allowing for the free exchange of translation memories.
2.2.9 XLIFF
XLIFF - XML Localization Interchange File Format is an OASIS standard for exchanging Localization data. Within OAXAL, the previously described standards help prepare the XML document for translation. The xml:tm version of the document contains all of the information required for extraction and both ICE and in-document leveraged and fuzzy matching. The transformation and matching process that goes into creating an XLIFF version of the document creates a document that can be processed and exchanged by any software that can read and understand an XLIFF file. XLIFF provides an important element of protection regarding the original XML document as well as a means to embed matching information.
2.3 Interaction of Standards
The key concept of OAXAL concerns how to build an efficient and effective systems architecture based on its constituent standards. The most important aspect of this architecture is how the standards interact with one another.
Figure 5: OAXAL Interaction of Standards
2.3.1 Unicode TR29
Unicode TR29 is used by SRX and GMX/V to tokenize text into white space, words, and punctuation. This tokenization is key to processing text for segmentation (SRX) and metrics (GMX/V).
2.3.2 SRX
SRX is used to segment text into individual sentences by xml:tm.
2.3.3 W3C ITS
W3C ITS provides the rule set and in-document namespace directives for identifying translatable text within document elements and attributes. It is sufficient to create a W3C ITS rules file for a given XML vocabulary such as DITA or ODF to allow all such documents to be processed by OAXAL. There is no need to write separate filter programs for each XML vocabulary. W3C ITS is used by xml:tm to identify translatable text and segment it using SRX.
2.3.4 xml:tm
xml:tm provides the basis of sentence-based text extraction by XLIFF as well as the foundation for ICE matching and all in-document leveraged and fuzzy matching. xml:tm can also be used to create TMX files from the aligned source and target versions of the document.
xml:tm relies on:
2.3.5 GMX/V
GMX/V is used to provide all of the metrics for XLIFF extraction and matching, as well as xml:tm authoring metrics during the document life cycle.
2.3.6 XLIFF
XLIFF is used by GMV/V as the canonical form for metric-counting purposes, as well as providing the basis for TMX files based on the source and translated segments. Within OAXAL, XLIFF uses xml:tm to identify text units requiring translation, as well as GMX/V for metrics in terms of how many words/characters require translation.
2.4 Major Processing Features
The true benefits of OAXAL accrue from the ability to produce a generic processing model for XML Authoring and Localization. The xml:tm and XLIFF operations are conducted by general-purpose programs which are completely parameter driven by input from the other standards. This parameterization allows for an elegant and very efficient process that is totally generic and easy to maintain. This benefit can be extended to non-XML document formats by converting them to an XML form and then processing them via OAXAL.
2.4.1 The Traditional Localization Workflow
In the traditional Localization scenario, there is little or no automation of the Localization process. A file, or group of files, is handed over to a Localization facility, and the subsequent workflow is made up of the following activities:
Figure 6: Traditional Manual Localization Workflow
Each of the arrows in this workflow model represents a potential point of failure as well as manual intervention. Not only is this process very error prone, it also adds significantly to the cost of Localization. The following cost model for this scenario was presented by Prof. Reinhard Schäler of the Limerick University Localisation Research Centre at the Aslib Conference in London in 2002:
Figure 7: Prof. Reinhard Schäler ASLIB 2002
The lack of an automated workflow has a very detrimental affect on the Localization process. Without automation, considerable manual intervention is required, as is evidenced in the figure Traditional Localization Workflow. This lack of automation accounts for up to 50% of the total cost of Localization.
2.4.2 OAXAL Localization Workflow
The Localization workflow using OAXAL significantly reduces the processing costs:
Figure 8: OAXAL Automated Localization Workflow
All of the processing steps, apart from the actual translation and QA activities, are completely automated. In addition, the use of XLIFF as the interchange standard means that translation can be presented via a browser interface, thus significantly simplifying the whole process.
3 The Reference Model
Figure 9: OAXAL Reference Model
There are two prime use cases for OAXAL:
The essence of OAXAL is to facilitate the following:
These results lead in the long term to reduced translation and authoring costs as well as improvements in the quality of the documentation.
3.1 OAXAL within a CMS environment
OAXAL is fundamentally rooted in the concept of a document life cycle. The life-cycle steps comprise the following:
Thus, a document is created. It is authored by one or more writers and submitted to editorial review and correction. The document is subsequently published in the source language and localized into one or more target languages for publication. The document is then subjected to further modifications according to the requirements of the business unit that is charged with maintaining it. The updated document then requires localization again to translate any new or modified text, and so on during its existence. This paradigm is typical of the vast majority of technical documentation life-cycle processes.
The unit of granularity defined by OAXAL is the text unit. A text unit is either of the following:
OAXAL can be viewed in terms of a workflow comprising a series of processes that interact with the source text:
The XML source content provides the semantic and structured text that needs to be consistently authored and localized.
The W3C ITS rules provide the XML syntax to define which parts of the XML document are translatable (including translatable attributes) and additional important information, such as which XML elements do not break the linguistic integrity of surrounding text (so-called 'within text' elements, commonly known as in-line elements).
Unicode TR29 provides the definition of what constitutes text tokens within text. Tokens are words, punctuation, white space, and so on. Tokenization is an essential process for segmentation and for classifying text units.
The xml:tm namespace provides the means to manage the text at the sentence level. Each individual text unit (identifiable sentence or standalone piece of text) is allocated, among others, the following:
XLIFF is an XML vocabulary that provides the means for packaging the text to be translated in a specific format especially designed for exchanging localizable data. XLIFF also provides the means for adding matching data, terminology, and metrics, as well as protecting the original XML document from accidental damage during the localization process. The xml:tm namespace version of the XML document provides all of the information required to easily and efficiently identify translatable text, but also for 'in context exact' (ICE) matching based on previous source and target versions of the document.
GMX/V provides an open, verifiable, and well-defined way of calculating localization metrics based on the XLIFF canonical form, Unicode TR29, as well as an XML vocabulary for exchanging localization metrics.
The whole OAXAL environment is best viewed in terms of an authoring and localization workflow, encompassing the following:
3.1.1 Authoring Workflow
Figure 10: Authoring Workflow
The XML document is created and checked out for authoring.
As part of the check out for authoring, the document is inspected to see if the xml:tm namespace exists within the document. If not, the xml:tm namespace is seeded into the document.
The seeding process includes the following:
The document is authored and checked in again.
The new document is seeded with the xml:tm namespace as detailed above.
The original and new xml:tm versions of the document are compared with each other, and the text units that have not changed are identified. The immutable identifiers from the original document are carried over to the new version, while new or modified text units are allocated new immutable identifiers.
The updated xml:tm version of the document is either packed as a zipped base-64 processing instruction within the same document as detailed above or is stored as a separate entity in the CMS system.
The document is checked into the CMS system.
3.1.2 Localization Workflow
Figure 11: Localization Workflow
The document is checked out for translation. A target-language object is created in the CMS system for this version of the source document.
The previous target version of the document is located, and the xml:tm version is either unpacked or located in the CMS system.
The XLIFF version of the document is produced along with a skeleton file by navigating through all of the xml:tm text units in the document. In-Context Matching, which provides a higher quality of translation-memory matching, is achieved by using the translated text from the previous localized version of the document, by means of text unit unique identifiers. The previous translated version of the document also allows for more focused leveraged-memory matching using the CRC keys for each text unit, as well as fuzzy matching based on modified text-unit identifiers. A skeleton file is created with placeholders where the translated text units are to be placed.
The XLIFF file is handed off to the localization process.
The xml:tm version of the target document can either be zipped and packed as a base-64 processing instruction into a version of the target document that has had the xml:tm namespace stripped out, or stored in the CMS system as a separate object.
The localized target version of the document is checked into the CMS system.
3.2 OAXAL within a Localization-only Workflow
Figure 12: OAXAL Localization Only Workflow
Within a translation-only workflow, the same basic steps apply:
Introduce the xml:tm namespace into the current source and any previous versions of the source and target documents.
Compare the differences between the source versions at the xml:tm level.
Carry 'backwards' the unique xml:tm identifiers onto the previous source and target xml:tm versions of the documents
Produce the XLIFF version of the document, along with a skeleton file, by navigating through all of the xml:tm text units in the document. In-Context Matching in this instance is achieved by using the translated text from the previous localized version of the document, by means of text-unit unique identifiers. The previous translated version of the document also allows for more focused leveraged-memory matching using the CRC keys for each text unit as well as fuzzy matching based on modified text unit identifiers. A skeleton file is created with placeholders where the translated text units are to be placed.
Hand off the XLIFF file to the localization process.
Once the XLIFF file has been translated, then use the placeholders to 'merge' the localized text with the skeleton file.
Zip and pack the xml:tm version of the target document as a base-64 processing instruction into a version of the target document that has had the xml:tm namespace stripped out.
Update the leveraged translation-memory database with the source and translated text unit data.
3.3 OAXAL Operations
The OAXAL processes described in the above-mentioned use cases can be broken down into the following fundamental operations:
SEEDING - The introduction of the xml:tm namespace into a document. This operation involves updating an XML document with the xml:tm namespace. The required standards used are Unicode TR29, SRX, and W3C ITS. The xml:tm namespace is used to allocate a unique identifier to each translatable sentence or individual translatable standalone text segment. These are referred to as text units. The identifier is immutable for each text unit for the lifespan of the document. SEEDING takes place in the following operations:
DIFFING - The comparison of the current and previous versions of a document, and maintaining the xml:tm namespace during the authoring lifecycle. For each update stage of a document, the original version of the document in its xml:tm form is required, as well as the updated version with a fresh xml:tm namespace. The two documents are compared, and any unchanged xml:tm text elements inherit the identifiers from the original version, thus maintaining the immutable identifiers. DIFFING takes place in the following operations:
EXTRACTION - The creation of an XLIFF file and commensurate skeleton file, including document-centric matching based on the previous target and source versions of the document. Extraction takes place for all situations for the translation stage.
MERGING - The creation of the target version of the document, based on the translated XLIFF file and the skeleton file. The extraction process involves the identification of each translatable text unit, transferring it to an XLIFF document, and replacing the text unit with an identifier marking the location for the resultant translated text unit. A skeleton file is thus created, with the placeholders for the translated text. The extraction process also involves extracting all translatable text and implementing all document-centered matching (ICE, leveraged, and fuzzy) as well as database matching, resulting in the creation of an XLIFF file along with a commensurate skeleton file. MERGING takes place for all situations for the translation stage.
PACKING - An optional stage that is used to pack the xml:tm version of the document into the existing document as a zipped, base-64 encoded processing instruction. PACKING takes place in the following operations:
STRIPPING - The process of removing the xml:tm namespace from the document. Stripping takes place at all the major stages where a non-xml:tm version of the document is required.
3.3.1 SEEDING
Figure 14: OAXAL xml:tm SEEDING
This operation involves updating an XML document with the xml:tm namespace. The required standards used are Unicode TR29, SRX, and W3C ITS. The xml:tm namespace is used to allocate a unique identifier to each translatable sentence or individual translatable standalone text segment. These are referred to as text units. The identifier is immutable for each text unit for the lifespan of the document.
The processing model for SEEDING is as follows:
Read in the W3C ITS document rules.
Read in the SRX segmentation rules for the language.
Read in the XML document.
Identify the elements and attributes containing translatable text.
Identify in-line elements and sub-flow elements.
Segment translatable text into individual text units.
Allocate the following to each text unit:
Write out the newly seeded file.
SEEDING takes place in the following operations:
3.3.2 DIFFING
Figure 15: OAXAL DIFFING
For each update stage of a document, the original version of the document in its xml:tm form is required, as well as the updated version with a fresh xml:tm namespace. The two documents are compared, and any unchanged xml:tm text elements inherit the identifiers from the original version, thus maintaining the immutable identifiers.
The processing model for DIFFING is as follows:
Locate the previous version of the document by either unpacking the previous xml:tm seeded version of the document or by locating it from storage.
SEED the current version with the xml:tm namespace.
Open and read in the previous and current seeded documents.
Compare the two documents to identify which text units have not changed.
Carry over the previous unique identifiers to the new document.
Allocate new identifiers to new or modified text units. For text units that have changed, keep a note of the previous identifier to be used for in-document fuzzy matching.
Write out the updated file.
DIFFING takes place in the following operations:
3.3.3 EXTRACTION
Figure 16: OAXAL EXTRACTION
The extraction process involves the identification of each translatable text unit, transferring it to an XLIFF document, and replacing the text unit with an identifier marking the location for the resultant translated text unit. A skeleton file is thus created with the placeholders for the translated text. The extraction process also involves extracting all translatable text and implementing all document-centered matching (ICE, leveraged, and fuzzy) as well as database matching, resulting in the creation of an XLIFF file along with a commensurate skeleton file.
The processing model for EXTRACTION is as follows:
Locate and read in the previous target xml:tm version of the document.
Read in the current updated source xml:tm version of the document.
Create the basic XLIFF document and the skeleton file based on the updated source xml:tm version of the document.
Process each text unit in the updated source document (matching based on identifier) with the previous version, where possible.
Attempt in-document leveraged matching based on text unit CRC.
Attempt in-document fuzzy matching based on previous identifiers in the case of modified text units.
Where no other matching text unit is found, attempt leveraged matching using traditional database-matching methods.
If no database matching is attempted, then the whole extraction process can be implemented as an XSLT transformation.
EXTRACTION takes place for all situations for the translation stage.
3.3.4 MERGING
Figure 18: OAXAL MERGING
MERGING involves recreating the target file from the translated XLIFF file and original skeleton file. The translated text is 'merged' with the skeleton file, replacing the placeholders for the translated text.
The processing model for MERGING is as follows:
Read in the skeleton file and translated XLIFF file.
Transfer the translated text units into the appropriate placeholders in the skeleton file.
The whole MERGING process can be implemented as an XSLT transformation.
MERGING takes place once the translation has been completed.
3.3.5 PACKING
Figure 19: OAXAL PACKING
The processing model for PACKING is as follows:
Read in the xml:tm version of the document as a binary input stream.
Compress the input stream by using the gzip algorithm.
Base-64 encode the compressed file.
Insert the compressed base-64 encoded file as a processing instruction into the non-xml:tm namespace version of the document.
An optional stage is used to pack the xml:tm version of the document into the existing document as a zipped, base-64 encoded processing instruction. PACKING takes place in the following operations:
3.3.6 STRIPPING
Figure 20 OAXAL STRIPPING
STRIPPING is the process of removing the xml:tm namespace from the document. STRIPPING takes place at any stage that requires a non-xml:tm version of the document.
The processing model for STRIPPING is as follows:
Read in the xml:tm version of the document.
Remove the xml:tm namespace components from the document.
Write out the non-xml:tm version of the document.
The whole of the STRIPPING process can be implemented as an XSLT transformation. The result of this process is then suitable for output to a variety of output formats by using XSLT.
4 Conformance Guidelines
This section outlines the requirements that must be met for applications to be considered conformant with the OAXAL reference model. This chapter also defines conformance related terminology that is used throughout the OAXAL reference model.
The authors of this reference model envision that architects may wish to declare that their work is conformant with this reference model. Conforming to a reference model is not generally an easily automatable task, given that the reference model’s role is primarily to define concepts that are important to OAXAL rather than to give guidelines for implementing systems.
We do expect, however, that any given OAXAL implementation will reference the concepts outlined in this reference model. As such, we expect that any design for a system that adopts the OAXAL approach will:
Follow the key OAXAL concepts and workflow
Conformance to the OAXAL reference model allows documents and document types that are shared within and across organizations and used with different processors or different versions of a processor to produce the same or similar results with little or no reimplementation.
The capitalized words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the OAXAL reference model are to be interpreted as described in IETF RFC 2119. When these words are not capitalized, they should be interpreted in their natural-language sense.
The use of these keywords and other conformance requirements increase the level of interoperability that is available between OAXAL conforming implementations. Their use is not meant to impose particular methods on implementers where the method is not required for interoperability.
The following categories are used to define the amount of flexibility that is available when implementing specific requirements.
The inclusion of standard XML vocabularies is encouraged where appropriate but not mandated.
OAXAL conforming implementations MUST include a conformance statement that lists the version of the OAXAL reference model and the Conformance Level implemented together with the OAXAL standards that are supported by the implementation and are implemented in accordance with the requirements of the OAXAL reference model.
A. Glossary
[CMS] - Content Managment System
[CRC] AUTODIN II Polynomial Cyclical Redundancy Check singature for a byte sequence. Provides a unique 32-bit signature for a given byte sequence.
[Localization] - Localization is the process of adapting a product or service to a particular language and culture. Translation usually forms a large part of localization, where the target language is different from the source language.
[SCS] - Source Control System
[Text Unit] - A text unit is either the complete text content of a document element or a subdivision of the same into identifiable sentences if possible.
[Workflow] - Workflow is a term used to describe the tasks, procedural steps, organizations, or people involved; required input and output information; and tools needed for each step in a business process.
B. Acknowledgments
The following Technical Committees provided the constituent Open Standards for OAXAL:
OASIS XML Localization Interchange File Format (XLIFF) TC
W3C Internationalization Tag Set (ITS) Working Group
The following individuals were members of the committee during the development of this specification and are gratefully acknowledged:
Participants:
Hackos, Dr. JoAnn, Comtech Services, Inc.
Domeny, Mr. Doug, Ektron
Saldana, Mr. Derek, Freescale Semiconductor, Inc.
Schnabel, Mr. Bryan (secretary), Individual Member
Lommel, Mr. Arle, Localization Industry Standards Assoc. (LISA)
Raya, Rodolfo (secretary), Associate
Jewtushenko, Mr. Tony, Associate
Zydroń, Mr. Andrzej (chair), Associate