Lingotek Drupal Module – Installation Guide Here are the steps

22
Lingotek Drupal Module – Installation Guide Here are the steps covered in this guide: 1) Install Lingotek module and other contrib modules 2) Connect the module to the Lingotek platform. 3) Enable content types for translation. 4) Enable fields for translation. 5) Enable a target language. 6) Test pushing a node to Lingotek. 7) Translate the page. 8) Pull the translation into Drupal. 9) Verify the target language page displays correctly. Step 1 Install the Lingotek module and other contrib modules needed to translate the title. Lingotek: http://drupal.org/project/lingotek Title: http://drupal.org/project/title o Entity API: http://drupal.org/project/entity Enable the modules.

Transcript of Lingotek Drupal Module – Installation Guide Here are the steps

Page 1: Lingotek Drupal Module – Installation Guide Here are the steps

Lingotek Drupal Module – Installation Guide

Here are the steps covered in this guide:

1) Install Lingotek module and other contrib modules

2) Connect the module to the Lingotek platform.

3) Enable content types for translation.

4) Enable fields for translation.

5) Enable a target language.

6) Test pushing a node to Lingotek.

7) Translate the page.

8) Pull the translation into Drupal.

9) Verify the target language page displays correctly.

Step 1

Install the Lingotek module and other contrib modules needed to translate the title.

Lingotek: http://drupal.org/project/lingotek

Title: http://drupal.org/project/title

o Entity API: http://drupal.org/project/entity

Enable the modules.

Page 2: Lingotek Drupal Module – Installation Guide Here are the steps

Step 2

Connect the module to the Lingotek platform.

Click the “Lingotek” in the menu bar

Enter your Login ID and password, and click “Save configuration”

Page 3: Lingotek Drupal Module – Installation Guide Here are the steps

Confirm the project and vault that will be used by default (can be overridden at the node level).

Page 4: Lingotek Drupal Module – Installation Guide Here are the steps

Confirm the default page settings (can be overridden at the node level).

Recommend changing “Automatically Push Node Content to Lingotek” to Enabled for testing

purposes

Click “Save configuration”

Page 5: Lingotek Drupal Module – Installation Guide Here are the steps

Step 3

Enable content types for translation.

Structure > Content types

Click “edit” next to the content type

Page 6: Lingotek Drupal Module – Installation Guide Here are the steps

Click “Publishing Options”

Under Multilingual support, check “Enabled, with Lingotek translation”

Page 7: Lingotek Drupal Module – Installation Guide Here are the steps

Step 4

Enable fields for translation.

Structure > Content types

Click “manage fields” next to the content type

To be able to translate the title field, replace the title field with the field created by the title

module.

Page 8: Lingotek Drupal Module – Installation Guide Here are the steps

Click “edit” next to the field to configure the settings.

Under Field Settings (bottom of the page), check “Enable Lingotek Translation”

Click “Save settings”

Page 9: Lingotek Drupal Module – Installation Guide Here are the steps

Step 5

Enable a target language

Configuration > Languages

Click “Add Language”

Page 10: Lingotek Drupal Module – Installation Guide Here are the steps

Choose a language and click “Add language”

Drupal displays the new language.

Page 11: Lingotek Drupal Module – Installation Guide Here are the steps

Step 6

Test pushing a node to Lingotek.

Add a node for a content type that you’ve enabled for translation.

Content > Add content

Page 12: Lingotek Drupal Module – Installation Guide Here are the steps

Enter data for the fields you want to translate.

Change the Language selector to “English”

Select the Lingotek Translation Settings tab

Page 13: Lingotek Drupal Module – Installation Guide Here are the steps

Verify the “Automatically Push Node Content to Lingotek” setting is “Enabled”

Click Save

Page 14: Lingotek Drupal Module – Installation Guide Here are the steps

Drupal will display a confirmation message that the page was pushed to Lingotek.

Page 15: Lingotek Drupal Module – Installation Guide Here are the steps

Verify in the platform that the page was created in your project. The target language should

match the languages you have defined in Drupal.

Page 16: Lingotek Drupal Module – Installation Guide Here are the steps

Step 7

Translate the page.

Open the Lingotek Workbench, either via the Lingotek platform or via Drupal.

In the platform, click the document name, then the phase name to launch the workbench.

To open the workbench in Drupal, click the “Lingotek” tab on the node, then click the phase

name.

Page 17: Lingotek Drupal Module – Installation Guide Here are the steps

The Lingotek Workbench will open.

Page 18: Lingotek Drupal Module – Installation Guide Here are the steps

Enter a translation for each segment, then click “Save and Close”.

Step 8

Pull the translation into Drupal.

Click the Lingotek tab in Drupal to refresh it. Notice the Document Progress and the Phase has

changed.

Page 19: Lingotek Drupal Module – Installation Guide Here are the steps

Check the target language box the click the “Update” button.

Page 20: Lingotek Drupal Module – Installation Guide Here are the steps

Drupal will display a confirmation message.

Step 9

Verify the target language page displays correctly.

It’s helpful to enable the Language Switcher block to easily change languages of a node.

Structure > Blocks

Page 21: Lingotek Drupal Module – Installation Guide Here are the steps

Enable URL as the language detection method

Configuration > Languages > Detection and selection

Check “Enabled” for URL

Page 22: Lingotek Drupal Module – Installation Guide Here are the steps

Click the View tab, then use the language selector to change the language for the node.