[go: up one dir, main page]

Jump to content

Translate Toolkit

From Wikipedia, the free encyclopedia
Developer(s)Translate.org.za
Initial release2002
Stable release
3.5.3 / 17 January 2022; 2 years ago (2022-01-17)
Repository
Written inPython (programming language)
Operating systemCross-platform
TypeComputer-assisted translation
LicenseGPLv2+[1]
Websitetoolkit.translatehouse.org

The Translate Toolkit is a localization and translation toolkit. It provides a set of tools for working with localization file formats and files that might need localization. The toolkit also provides an API on which to develop other localization tools.

The toolkit is written in the Python programming language. It is free software originally developed and released by Translate.org.za in 2002 and is now maintained by Translate.org.za and community developers.

Translate Toolkit uses Enchant as spellchecker.

History

[edit]

The toolkit was originally developed as the mozpotools by David Fraser for Translate.org.za. Translate.org.za had focused on translating KDE which used Gettext PO files for localization. With an internal change to focus on end-user, cross-platform, OSS software, the organisation decided to localize the Mozilla Suite. This required using new tools and new formats that were not as rich as Gettext PO. Thus mozpotools was created to convert the Mozilla DTD and .properties files to Gettext PO.

Various tools were developed as needed, including pocount, a tool to count source text words to allow correct estimations for work, pogrep, to search through translations, and pofilter, to check for various quality issues.

When Translate.org.za began translating OpenOffice.org it was only natural that the Translate Toolkit would be adapted to handle the OpenOffice.org internal file format. Translating OpenOffice.org using PO files is now the default translation method.

As part of the WordForge project the work received a major boost and the toolkit was further extended to manage XLIFF files alongside PO files. Further funded development has added other features including the ability to convert Open Document Format to XLIFF and the management of placeholders (Variables, acronyms, terminology, etc.).

Design goals

[edit]

The main aim of the toolkit is to increase the quality of localisation and translation. This is achieved by firstly, focusing on good localisation formats thus the toolkit makes use of the PO and XLIFF localisation formats. This has the benefit that it stops the proliferation of localization formats and allows localizers to work with one good localization tool. For the toolkit this means building converters that can transform files to be translated into these two basic formats.

Secondly, to build tools that allow localizers to increase the general quality of their localization. These tools allow for the extraction of terminology and for checking for the consistent use of terminology. The tools allow for checking for various technical errors such as the correct use of variables.

Lastly, the toolkit provides a powerful localisation API[2] that acts as a base on which to build other localization related tools.

Users

[edit]

Many translators use the toolkit directly, to do quality checks and to transform files for translation. Further there are and have been several indirect users of the Translate Toolkit API:

Supported document formats

[edit]

OpenDocument Format support

[edit]

Work was started in June 2008 to incorporate OpenDocument Format support.[4] This work is funded by the NLnet Foundation and is a collaboration between Translate.org.za and Itaapy[5]

See also

[edit]

References

[edit]
  1. ^ "Translate/Translate". GitHub. 25 November 2021.
  2. ^ "Translate Toolkit API documentation".
  3. ^ Jacek Śliwerski (2013-12-01). "Closing open-tran.eu". Google Groups. Retrieved December 1, 2017.
  4. ^ "Project page for ODF format support".
  5. ^ "ODF Internationalization (i18n) Test Suite in hforge".
[edit]