无忧论文网 · 始于1999 · 学术论文辅导与论文发表推荐服务

澳大利亚昆士南大学留学生论文:采用开放源码的本地化基于标准的XML文件格式:Adopting Standards-based XML File Formats in Open Source Localisation

栏目
帮写thesis论文
具体类型
硕士毕业论文 Master Thesis
语言
中文
更新
关键词
澳大利亚论文采用开放源码本地标准的XML文件格式Adopting Standards-basedXML FileFormats in Open Source Localisation
分类标签
参考资料留学生论文帮写thesis论文
原站著录信息
原编号
lw201101311126042337
原文字数
13,953 字
DECEMBER 2005 RESEARCH.loc LOCALISATION FOCUS 9
Research
1 Introduction
LOCALISATION OF SOFTWARE IN OPEN SOURCE PROJECTS
IS USUALLY HANDLED BY GETTEXT, a set of tools
帮写澳大利亚论文from the GNU project. This toolkit contains tools for extracting
and merging messages from source code for localisation, as well
as libraries for loading the translated messages from resource files at
runtime. Gettext uses its own file format, the Portable Object (PO)
format, for storing resources in the localisation process. With open
source desktop environments — such as GNOME and KDE —
today having translation teams for over 80 different languages, it is
evident that Linux and open source software (OSS) is reaching out
to a global market, and is not limited to English-speaking cultures
and communities. As industry and governments around the world
continue to embrace open source, localisation has become a critical
factor in OSS adoption. Thus, it is increasingly important that OSS
localisation processes become aligned with industry standards —
allowing seamless integration of commercial and open source
processes when developing for open source platforms.
In the main contribution of this paper, we present the results of
working with open source contributors in defining an XLIFF
Representation Guide for Gettext PO – a work now submitted to
the XLIFF Technical Committee in line with their programme to
develop canonical XLIFF profiles for common file formats. We propose
a bridge between current localisation practices in open source
and established localisation industry standards. As open source
localisation is based around the common PO resource format, this
paper will focus on XLIFF as a possible replacement for PO as the
common format in the OSS localisation process; further, we provide
standards alignment through a canonical representation of the PO
file format within the XLIFF standard. XLIFF was designed principally
to address needs in commercial localisation processes, especially
the localisation of Microsoft Windows-based resource formats.
This research aims to identify aspects of Gettext and other PO-based
localisation processes for which XLIFF lacks support, and to address
these deficiencies.
Building on this foundation, we then examine whether the adoption
of other localisation standards may further improve OSS localisation
practices. This evaluation considers the handling of terminology,
translation memories and localisation workflows — areas that
have that have up until now only been addressed on an ad hoc basis
in open source localisation. We will investigate how successfully
standards such as TMX and TBX might be incorporated into OSS
localisation processes, and discuss the need for a service-based architecture,
evaluating emerging standards such as TWS in open source
localisation.
We have chosen to provide detailed coverage of the case for
XLIFF adoption, but only a high-level overview of the case for other
standards such as TMX, TBX and TWS. This is a natural focus at
this time, as XLIFF is currently the only format for which there is an
existing ‘equivalent’ in OSS localisation processes. Usage of
Translation Memory technologies, structured Terminology
Databases and service-based architectures is very limited in the open
source community, as open source tools for these technologies do
not exist at present. Thus, when we present models incorporating
these standards, we therefore build on best practices from the wider
industry and not current practices from OSS localisation alone.
This research is a first look at how open source can benefit from
standards-based localisation formats; hence, much of the focus of
the paper is to identify areas needing further research. Nevertheless,
this paper builds a solid foundation for further research, providing a
solution for representing the PO format in XLIFF, and arguing the
merits of XLIFF as a common resource format in all open source
localisation processes.
This paper is organised as follows: in Section 2 we provide a thorough
survey of the relevant localisation and internationalisation
standards, and current practices in open source localisation. Section
3 presents our main result, a canonical mapping of the PO format to
XLIFF. We then look at how this format can be incorporated into
existing build systems and development processes (Section 4).
Section 5 builds on these foundations, discussing the need for other
exchange standards in open source localisation. We conclude, in
Section 6, by summarising the findings of this paper, and by examining
the future of OSS localisation.
Adopting Standards-based XML File
Formats in Open Source Localisation
By Asgeir Frimannsson and
James M. Hogan,
School of Software Engineering
and Data Communications,
Queensland University of Technology,
Brisbane, Australia.
In recent years, major localisation vendors and key standards organisations have agreed on open XML-based standards
for storage and exchange of data in the localisation process: The Translation Memory eXchange (TMX) file format for
exchanging translation memory data, the TermBase eXchange (TBX) format for terminology exchange, and the XML
Localisation Interchange File Format (XLIFF) for extracting and storing locale-dependent resources in a common file
format. Up until recently, very few open source tools have supported these formats, and hence very few open source
projects have adopted them in the localisation process. A majority of open source applications continue to use Gettext
and the Portable Object (PO) file format. This paper evaluates the case for adopting XLIFF in localisation processes
currently based on the Gettext toolkit, and examines the usefulness of other standards such as TMX, TBX and
Translation Web Services (TWS) in these processes.
James M. Hogan Asgeir Frimannsson
10 LOCALISATION FOCUS RESEARCH.loc DECEMBER 2005
Research
2 Background
2.1 Open Source Localisation
The term ‘open source’ relates to the practice of freely sharing access
to the source code of a product, allowing anyone to extend or modify
a piece of software. The open source development process has
been described as a user-driven, just-in-time approach, driven by a
global developer community (Berglund and Priestly, 2001).
Development is driven by demand for the product within this community,
and new features are implemented as a result of requests
from the user base. Raymond (2000) describes the process as a
‘bazaar’ where software is released early and often, the software
process is open and transparent and work is delegated as much as
possible. In contrast, traditional software is developed by closed
teams having long release cycles and is only released after being
thoroughly tested. Surveys reveal that fewer than one in five open
source participants are paid for their involvement (Hars and Ou,
2001). These characteristics imply that localisation of open source
software is an ongoing process, driven primarily by voluntary
efforts, in response to constantly changing source code.
Localisation of software messages is handled in most open source
projects by Gettext — as specified in the OpenI18N Globalisation
Specification (Free Standards Group, 2003). The Gettext library is
based around two file formats:
• The Portable Object (PO) file format: a simple string table for
storing translation units in the localisation process
• The Machine Object (MO) file format: a binary representation
of a string table — used by an application to retrieve translated
strings at runtime
Whilst the