|Stable release||1.12.0 / 12 August 2014|
|Written in||Python (programming language)|
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.
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.).
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 that acts as a base on which to build other localization related tools.
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:
- Pootle - an online translation tool
- open-tran - providing translation memory lookup
- Wordforge (old name Pootling) - an offline translation tool for Windows and Linux
- Rosetta - free translation web service offered by LaunchPad. It is used mainly by the Ubuntu community translation tool. See it in action in Launchpad Translations
- LibreOffice/OpenOffice.org - most community localization is done through PO files produced by the toolkit
- Virtaal - a localisation and translation tool
- translatewiki.net (now discontinued due to new terms)
- Weblate - web based translation tool with tight Git integration
Supported Document Formats
- Primary Localization Formats
- Other Localization Related Formats
- Other Formats
- Translation Memory Formats
OpenDocument Format support
- "Translate Toolkit API documentation".
- "Project page for ODF format support".
- "ODF Internationalization (i18n) Test Suite in hforge".