Overview

Table of Contents

Conventions
Compiling libtranslate Applications
Compiling libtranslate Modules

libtranslate is a library for translating text and web pages between natural languages. Its modular infrastructure allows to implement new translation services separately from the core library.

libtranslate is shipped with a generic module supporting web-based translation services such as Babel Fish, Google Language Tools and SYSTRAN. Moreover, the generic module allows to add new services simply by adding a few lines to a XML file (see the services.xml(5) manual page).

libtranslate is implemented on top of the GLib Object System.

Conventions

  • Unless noted otherwise, strings passed to library functions must be encoded in UTF-8.

  • Unless noted otherwise, strings returned by libtranslate are encoded in UTF-8.

  • Unless noted otherwise, libtranslate is thread-safe.