Configure Machine Translation Service Application



In this post you will learn what is Machine translation service application, how to create and configure this service using central administration screen.

What is Machine translation service application?

This service application is one of new service application introduced in SharePoint 2013. The basic purpose of this service application is to translate the files and sites. 


While performing the translation this Service application transfers the request to cloud-hosted machine translation service, where the translation happens.

How many ways we can perform this? There are basically two ways of doing this translation of files and services.

One synchronously and second asynchronously.

Synchronous translation will be performed by SyncTranslator class. Once you use SyncTranslator it will immediately get added to synchronous queue.

Asynchronous translation can be performed by TranslationJob class.

The above two classes you will use to perform the Machine translation using object model. You can perform translation using CSOM and REST services as well.

You can configure the same using powershell as well. This we will see in coming posts. 

There few perquisites you need to complete below creation and configuration of his service application. Those are

  • The App Management service application must be started.
  • Configure server-to-server authentication and app authentication.
  • User Profile service application proxy in the default proxy group for the farm, and the User Profile service application must be started and configured.
  • The server from which machine translations will be run must be able to connect to the Internet.

Create Machine Translation service application:

Click on Manage Service applications under Service Applications from Application management section of the central admin.

Please see the below figure: Manage-Service-Applications.


Manage service applications
Create New Machine Translation service application

Check the checkbox for the "Add this service application's proxy to the farm's default proxy list".

Enter the Database server, Database name and authentication details, here I am using Machine_Translation_service_Application_Database. Try to follow these type of conventions while creating the database names, it will help SQL DBS do a world of good while maintains the applications.

Create New Machine Translation service application

Now go to Manage Service applications and verify that the service has been created there.

Start the Machine Translation service:

To start the service click on "manage services in this farm” under system setting , Then select the respective server you want to start the service.

Click on start button against the "Machine Translation service".

You have successfully created the "Machine Translation service application". 

Now the next activity is to configure the Machine Translation service application, so let’s go configure. Yeah.

 

Configure Machine Translation service application:

To configure click on the "Manage Translation Service Application" from the list of service applications. 

Machine Translation service application

On the Machine Translation Service page make sure you have configured below settings:

I am specifying all the settings below, all these settings are default settings which are suggested by the system. Unless until you require any thing need to be changed then do it otherwise go with the below default settings.

Machine Translation service

Figure: Machine Translation service settings-1.

Enabled File Extensions:

In this section leave all boxes checked. If you uncheck all the check boxes for any file name extensions will disable those files.

Item size limits section:

  • Maximum file size of binary files in KB. Microsoft Word documents are binary file box, use the default of 51200. Files that exceed this limit will not be translated.
  • Maximum file size of text files in KB. Plain-text, HTML, and XLIFF documents are text file box, use the default of 5120. Files that exceed this limit will not be translated.
  • Maximum character count for Microsoft Word document box, use the default of 500000. Files that exceed this limit will not be translated.

Please see the Figure: Machine Translation service settings-1.

Please see the Figure: Machine Translation service settings-2 for below mentioned settings.

  • Online Translation Connection Use default internet settings.

Translation Processes section, use the default of 1.

Translation Throughput section, do the following:

  • The frequency with which to start translations (minutes) box, change the value to 1. This controls how often asynchronous translation jobs occur.
  • The number of translations to start (per translation process) box, use the default of 200.
  • Maximum Translation Attempts section, use the default of 2.
  • Maximum Synchronous Translation Requests section, use the default of 10.

Translation Quota:

In this section specify below default settings:

  • Maximum numbers of items which can be queued within a 24-hour period section, select No limit.
  • Maximum numbers of items which can be queued in a 24-hour period per site subscription section, click No limit.
Machine Translation service application

Figure: Machine Translation service settings-2

Please see the Figure: Machine Translation service settings-3 for below mentioned settings.

  • Completed Job Expiration Time section, select Days, and use7.
  • Recycle Threshold section, use the default of 100.
  • Offices 97-2003 Document Scanning section, click No, which is the default.
Machine Translation service application

Figure: Machine Translation service settings-3

Finally Click ok.

Congratulations you have successfully created and configured the "Machine Translation service Application".

Please check the below reference for more information.

Create and configure Machine Translation services in SharePoint Server 2013.

Conclusion:

In this post you have learned what is Machine Translation service Application in SharePoint 2013 and  what are prerequisites to create and configure the same and completed the configuration of the service.




› Configure Machine Translation service application



Join 6,500 subscribers and receive instant access to

Devendra's Library of Resources for SharePoint Developers


About Author

Devendra Velegandla is a four-time recipient of Microsoft's Most Valuable Professional (MVP) award (2014-2017) for Office Servers and Services MVP and  SharePoint Server. He received the MCC award for his contributions in Microsoft MSDN/TechNet forums. He loves sharing articles, videos, and tutorial on SharePoint and Office 365.