TMGMT Lilt module is a plugin for Translation Management Tool module (tmgmt). It uses Lilt (https://www.lilt.com) for automated translation of the content.
This module requires TMGMT (http://drupal.org/project/tmgmt) module to be installed. You will also need a working Lilt account & API key.
This installation guide assumes you've already configured the Drupal core multilingual modules as needed for your setup.
- Install TMGMT (if not installed)
composer require 'drupal/tmgmt:^1.11'
or tarball extraction tomodules/contrib
drush en tmgmt
or via/admin/modules
admin UI.
- Install Lilt TMGMT
composer require 'drupal/tmgmt_lilt:^1.0'
or tarball extraction tomodules/contrib
drush en tmgmt_lilt
or via/admin/modules
admin UI.
- Config Lilt Provider
- Via Drush:
drush cset tmgmt.translator.lilt weight -20
drush cset tmgmt.translator.lilt settings.lilt_api_key "$LILT_API_KEY"
- Via UI:
- Browse to
/admin/tmgmt/translators
- Drag priority to make Lilt the top provider.
- Click Save
- Click Edit for the Lilt provider
- Add your Lilt API key and confirm access via the Connect button.
- Click Save
- Browse to
Once installed, Lilt will be avaiable as a part of the TMGMT workflow. See the TMGMT project page for detailed usage documentation.
Here's a short example usage scenario:
- Browse to
/admin/tmgmt/sources
- Select content to translate.
- Set Target language.
- Click Request translation.
- Set Provider to Lilt (if not set).
- Add the Due Date of the Lilt translation project.
- Set the Lilt Translation memory for the project.
- Click Submit to provider to send the project to Lilt.
- Complete the TMGMT workflow once the translation has been completed on Lilt.
Use the GitHub project for code contributions, bug reports, feature requests, etc. If you'd like to contribute to the module, you can use this project as a self-contained development environment.