API

The Translate Toolkit provides several modules for programmers to build their own tools.

Module overview

The following will give you an idea about what each module is capable of.

convert

Code to convert between different storage formats for localizations.

filters

Filters that can be used on translations…

lang

Classes that represent languages and provides language-specific information.

All classes inherit from the parent class called common.

The type of data includes:

  • Language codes

  • Language name

  • Plurals

  • Punctuation transformation

  • etc.

misc

Miscellaneous modules for translate - including modules for backward compatibility with pre-2.3 versions of Python.

services

translate.services is part of the translate toolkit. It provides network services for interacting with the toolkit.

storage

Classes that represent various storage formats for localization.

tools

Code to perform various operations, mostly on po files.

Module list

All the modules included in the Translated Toolkit are listed here.