Connectors

Connectors link the systems in which clients maintain their content directly to TTN TMS. Content is selected and sent for translation from within the client’s own system, and the finished translation comes back the same way. Nobody has to export, upload, download and re-import files.

In TTN TMS, each submission becomes a regular order in the client’s account. It is processed like an order placed through the client portal: with the client’s translators, translation memories and termbases, and the same quality checks. The connectors use the REST interface (API) of TTN TMS for this. The following sections describe the individual connectors.

Drupal

For websites built on the Drupal content management system, TTN provides the module “TMGMT Translator TTN”. It is published on drupal.org (www.drupal.org/project/tmgmt_ttn) and, like all Drupal modules, is open source under the GPL licence. The module is based on the widely used Translation Management Tool (TMGMT). Editors therefore work in the familiar TMGMT interface, where TTN appears as a translation provider.

Order workflow

  • Select: In TMGMT, the editors select the content to be translated and the target languages, and choose “TTN Translation Network” as the provider. If required, they add a deadline and instructions for the translators.
  • Send: The module exports the content as XLIFF 1.2 and sends one order per target language to TTN TMS. HTML markup and links are protected as tags, so they cannot be damaged in the translation tools. The TTN order number appears on the job in Drupal straight away.
  • Translate: TTN processes the order as usual in Trados, with translation memory, termbase and quality assurance.
  • Retrieve: As soon as TTN delivers, Drupal fetches the translation – immediately via a signed callback from TTN, otherwise at the next regular check (every 15 minutes by default) or at the click of a button on the job.
  • Accept: The translation is ready for review in Drupal and is accepted by the editors. If required, Drupal accepts delivered translations automatically. Every import is confirmed to TTN.

What TTN TMS contributes

  • Order creation: The order is created in the client’s account and is marked with its own icon as an order received through the interface. The translation manager sees and confirms it in TCI just like an order from the client portal; the translators are taken from the client’s default translators.
  • Clean data: HTML remnants are removed from the order title, and the editors’ instructions are attached to the order as a file.
  • Check before delivery: Before TTN releases a translation, TTN TMS checks that the delivered XLIFF can be read and contains exactly the same text units as the original. If anything does not match, the translation manager is notified automatically and delivers again. Drupal also checks the job, the target language and completeness itself, and never imports anything incomplete.
  • Corrections: If TTN delivers a corrected version later, Drupal detects the new version and imports it again, as long as the job in Drupal has not yet been completed.

Security and data protection

  • Encryption: The interface accepts HTTPS connections only.
  • API key per client account: The translation manager generates it in TCI. It is displayed only once, TTN stores only a hash value (SHA-256), and it can be revoked at any time. In Drupal it is kept in the Key module, optionally outside the database (file or environment variable).
  • Signed callbacks: TTN signs every callback to the website with HMAC-SHA256 and a separate secret; Drupal rejects callbacks without a valid signature. Callbacks are only sent to public addresses, never into an internal network.
  • Protection against misuse: no more than 120 requests per minute per key and no more than 50 MB per order; every request is logged with the key’s prefix.
  • Data protection: The content is processed in Switzerland by TTN and its translators. TTN is certified to ISO/IEC 27001.

Requirements and setup

The module runs on Drupal 11 and requires TMGMT version 1.19 or later (with the “File translator” submodule) and the Key module version 1.19 or later. Like any Drupal module, it is installed with Composer. Setup involves four steps:

  • TTN generates an API key and a callback secret for the client account.
  • The website stores both in the Key module and sets up TTN as a translation provider. When the settings are saved, the module verifies the key directly with TTN.
  • The website’s languages are mapped to TTN language codes. The mapping is preset for common languages, for example French → FRE or Arabic → ARA.
  • Optional: automatic acceptance of delivered translations (off by default) and the check interval (5 to 1440 minutes, 15 minutes by default).

For the immediate callback, TTN must be able to reach the website. If it cannot, Drupal retrieves deliveries through the regular check alone.