Enable the Lingotek hook on the Liferay site.
1) Go to Site Settings.
2) Under Application Adapter, scroll to select lingotek_hook.
Create a Regular Role “Translator” and assign the Translator role to the user responsible for uploading content translation requests to Lingotek. The user should have the Translator Role as part of the Regular Roles as seen below.
The example Liferay Web Content “Structure” we will use has the following fields.
The example Liferay Web Content “Article” we will use for sending translation requests is shown below. The Article title is “Test Content for Integration.”
Next, request a translation for the article by uploading it to Lingotek.
In the dialog, select the language you wish to translate into.
Click Upload Translation to submit the Translation Request.
After uploading the translation, the Lingotek Workbench will open in a new browser tab.
As you translate each segment, click Save and Next. When all translations are complete, the status bar will display 100%.
Click “Save and Close” to close the browser tab and this will re-display the Liferay page.
Click “Back” to go back to the Web Content Listing view. In the Web Content Listing view, select “Download Translations” to pull the translations from Lingotek and add them to the given article.
The merging of the translation request for “French” is shown below in the web content view. Click on the available translations to view the translated content for the given article.