Configuring machine translation timer jobs

The machine translation service receives translation jobs from SharePoint content and other sources that get translated in batches. The frequency of translating these batches as well as other configuration options, such as connecting through a web proxy, may be configured for the machine translation service.

There are many configuration options for the machine translation service. In this recipe, we will only focus on the interval at which the queued translation jobs are processed.

How to do it…

Follow these steps to configure the machine translation timer jobs:

  1. Navigate to Central Administration in your preferred web browser.
  2. Select Manage service applications from the Application Management section.
  3. Select the link to the newly created machine translation service:
    How to do it…
  4. In the Translation Throughput section, set the Frequency with which to start translations (minutes) to 15:
    How to do it…
  5. Click on OK to save the change.

How it works…

The machine translation service uses a SharePoint timer job to process queued translation requests. The default interval at which this job runs is 15 minutes. This can be configured to run more or less frequently. The machine translation service can use a considerable amount of resources on the server. These settings allow us to adjust the translation service based on the needs of the implementation.

There's more…

The machine translation service configuration options may also be set using PowerShell. Follow these steps to configure the machine translation timer job using PowerShell:

  1. Use the Get-SPServiceApplication Cmdlet to obtain the unique identifier for the machine translation service application on the local farm:
    Get-SPServiceApplication
    

    You will see a screen similar to the one shown in the following screenshot after issuing the preceding command:

    There's more…
  2. Use the Set-SPTranslationServiceApplication Cmdlet to set the timer job frequency, replace Identity with the unique identity from the previous step:
    Set-SPTranslationServiceApplication –Identity bc6a1336-3e12-49e0-bb4b-4d159b7670c8 –TimerJobFrequency 15
    

See also

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.65.130