> ## Documentation Index
> Fetch the complete documentation index at: https://support.lilt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Drupal

LILT + [Drupal](https://www.drupal.org/) connector enables companies to automatically push and pull content between Drupal and LILT. This saves you time by providing seamless localization while letting you continue to work in the systems you know.

Our integration with Drupal allows LILT to send completed translation projects right back into Drupal so that translated content is ready to be published. The Drupal connector is an app based connector. Job submission and management is controlled inside the Drupal interface; everything is handled inside the TMGMT interface.

## Configuration

At a high level, the installation steps are as follows:

1. Install the TMGMT module.

2. Install the TMGMT LILT Provider module.

3. Enable the modules.

4. Configure the LILT Provider module.

Drupal supports installing modules directly in the admin interface. The package installation procedure is detailed [here](https://www.drupal.org/docs/user_guide/en/extend-module-install.html).

1\. Log in to the admin interface.

2\. Go to `Extend`>`Install New Module`.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/JYCZK8MjjALJwC0p/images/3ce7f0e1-4403798930967-drupal_1_696x182.png?fit=max&auto=format&n=JYCZK8MjjALJwC0p&q=85&s=fc6cd1fd8d96e644c1e1f27ed1e0a672" width="696" height="182" data-path="images/3ce7f0e1-4403798930967-drupal_1_696x182.png" />
</Frame>

3\. Enter the package URL that you want to install and click Install.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/9ZG5_AaqnpC5rx0I/images/d8bd0941-4403791957655-drupal_2_696x432.png?fit=max&auto=format&n=9ZG5_AaqnpC5rx0I&q=85&s=9056ad010e85817541a2f6c656d64ce8" width="696" height="432" data-path="images/d8bd0941-4403791957655-drupal_2_696x432.png" />
</Frame>

Two packages will need to be installed. Perform the installation procedure described above for the following two packages.

1. [TMGMT](https://www.drupal.org/project/tmgmt/releases/8.x-1.11)

2. [TMGMT LILT Provider](https://www.drupal.org/project/tmgmt_lilt/releases/8.x-1.x-dev)

Use these links in the installations steps described above.

### Enable packages

Once the packages are installed, go to the modules overview page, enable the Translation Management packages, then click `Install`.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/6FefOzQXhgpnOwpd/images/f62e6e98-4403792021911-drupal_3_696x126.png?fit=max&auto=format&n=6FefOzQXhgpnOwpd&q=85&s=65c80ab2b3db24d31025db9a5bfdaa8f" width="696" height="126" data-path="images/f62e6e98-4403792021911-drupal_3_696x126.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/jiwCy-4OA0JLeee7/images/9f16604b-4403799134487-drupal_4_696x570.png?fit=max&auto=format&n=jiwCy-4OA0JLeee7&q=85&s=a7770e16d96a6e3fc3f64014fa9b29c2" width="696" height="570" data-path="images/9f16604b-4403799134487-drupal_4_696x570.png" />
</Frame>

### Configure LILT provider

1\. Go to the `Translation` > `Providers` page.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/hfZqI6QM8RWdL07H/images/b3166fde-4403800836119-drupal_5_696x331.png?fit=max&auto=format&n=hfZqI6QM8RWdL07H&q=85&s=92d795969cc28decae4a0114122401c6" width="696" height="331" data-path="images/b3166fde-4403800836119-drupal_5_696x331.png" />
</Frame>

2\. On the LILT provider entry, click the `Edit` button.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/C8Fa7tOPsPlwtPsc/images/c4217793-4403801859863-drupal_6_696x434.png?fit=max&auto=format&n=C8Fa7tOPsPlwtPsc&q=85&s=e5b4e088730e0bb343dfe84c2f9951ea" width="696" height="434" data-path="images/c4217793-4403801859863-drupal_6_696x434.png" />
</Frame>

3\. Enter the LILT API Key, and click `Save`. *Note: the URLs will default to the correct values, and the remaining values are optional.*

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/8rkVo9mxa5OhiGRW/images/52908b39-4403800889623-drupal_7_696x1070.png?fit=max&auto=format&n=8rkVo9mxa5OhiGRW&q=85&s=6cd057e0dea4d2b5ee8ee6c29485ab6f" width="696" height="1070" data-path="images/52908b39-4403800889623-drupal_7_696x1070.png" />
</Frame>

## Workflow

Once the connector is configured, content is moved between LILT and Drupal as outlined in the sections below.

### Job submission

1\. Navigate to `Translation`>`Sources`.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/C8Fa7tOPsPlwtPsc/images/c162cd2a-4403800913431-drupal_8_696x331.png?fit=max&auto=format&n=C8Fa7tOPsPlwtPsc&q=85&s=c335f168b0d0eb7dbb33074757daf254" width="696" height="331" data-path="images/c162cd2a-4403800913431-drupal_8_696x331.png" />
</Frame>

2\. Select the content and languages you want, request translation, and complete the checkout form (including due date and data source / memory selection). When a job is submitted, the projects will show up in LILT right away.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/_SPh7S1sP0AAJsry/images/5e9f0d4d-4403801977367-drupal_9_696x446.png?fit=max&auto=format&n=_SPh7S1sP0AAJsry&q=85&s=a111c7d4a269133593a21472881f61ab" width="696" height="446" data-path="images/5e9f0d4d-4403801977367-drupal_9_696x446.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/6FefOzQXhgpnOwpd/images/f164b757-4403802048407-drupal_10_696x496.png?fit=max&auto=format&n=6FefOzQXhgpnOwpd&q=85&s=2bbb311ac43fe038e1514ab91c3b51df" width="696" height="496" data-path="images/f164b757-4403802048407-drupal_10_696x496.png" />
</Frame>

### Job progress and completion

1\. Navigate to `Translation`>`Jobs` to view a list of all current jobs.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/KxQB3_Ey1ahDkiRO/images/06a642d1-4403802083735-drupal_11_696x230.png?fit=max&auto=format&n=KxQB3_Ey1ahDkiRO&q=85&s=26d04ba5d6fd23f16f7e2b7c5b80abf4" width="696" height="230" data-path="images/06a642d1-4403802083735-drupal_11_696x230.png" />
</Frame>

2\. Find the desired job and click `Manage` to open the job.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/JYCZK8MjjALJwC0p/images/35eeccaf-4403802142743-drupal_12_696x378.png?fit=max&auto=format&n=JYCZK8MjjALJwC0p&q=85&s=506e0992b1e0601796bb4bbb51122e91" width="696" height="378" data-path="images/35eeccaf-4403802142743-drupal_12_696x378.png" />
</Frame>

3\. Click `Pull Translations` to pull in completed translations into Drupal. For content to be returned, the projects must be marked as `Done` in LILT.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/3GpNTXXX3YC63b99/images/4dd4b21a-4403809777047-drupal_13_696x461.png?fit=max&auto=format&n=3GpNTXXX3YC63b99&q=85&s=ed468a28a683187d6a915dbd706a100a" width="696" height="461" data-path="images/4dd4b21a-4403809777047-drupal_13_696x461.png" />
</Frame>

4\. Click `Review` to preview the translation.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/KxQB3_Ey1ahDkiRO/images/0079d871-4403802444823-drupal_14_696x363.png?fit=max&auto=format&n=KxQB3_Ey1ahDkiRO&q=85&s=2d14c735d4bf55aa032f0667033328b1" width="696" height="363" data-path="images/0079d871-4403802444823-drupal_14_696x363.png" />
</Frame>

5\. Click `Save` to complete. The translation will be published once it is completed.

<Frame>
  <img src="https://mintcdn.com/lilt-db26f913/vwqbRrDJ5X4ar99N/images/1012f20a-4403810029719-drupal_15_696x245.png?fit=max&auto=format&n=vwqbRrDJ5X4ar99N&q=85&s=c989717d696898f7af3e41f51df6c1a1" width="696" height="245" data-path="images/1012f20a-4403810029719-drupal_15_696x245.png" />
</Frame>
