Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
1.2k views
in SharePoint Server by 40 47 56

In SharePoint 2016, I got this error "Cannot connect to the Machine Translation Service, contact your site administrator" when tried to create a target label in SharePoint Variations Lable settings specifically in the Translation Options!

As you can see, the Machine Translation option is disabled and I can't Allow Machine Translation on this target label!

Cannot connect to the Machine Translation Service, contact your site administrator

Am I missing something? How can I configure and allow Machine Translation for Target Lable Variation in SharePoint 2016?


1 Answer

1 like 0 dislike
by 163 204 403
selected by
 
Best answer

How to allow Machine Translation for Target Lable Variation in SharePoint Server?

When you configure the Variation Lable for a Target Site, you may get this error "Cannot connect to the Machine Translation Service, contact your site administrator" in the following cases:

  1. The Machine Translation Service is not configured.
  2. The Machine Translation Service is configured but not associated with the current web application.
  3. The Machine Translation Service is configured but its status is not started (STOPPED).

Solving: Cannot connect to the Machine Translation Service, contact your site administrator

1) Configure Machine Translation Service in SharePoint 2016

To allow Machine Translation for Target Lable Variation in SharePoint Server, you have first to configure Machine Translation Service as the following:

Steps:

  1. Open Central Administration > Application Management > Service Applications > Manage service applications.
    Manage Service Application SharePoint 2016
  2. On the above top ribbon, click on "New" to create a new service application and select Machine Translation Service.
    New Machine Translation Service Application
  3. Configure the Machine Translation Service as shown below.
    Create New Machine Translation Service Application
  4. Once the Machine Translation Service is configured, make sure that the service is started on "System Settings > Services on Server". (If it's not started, start it)
    Manage Machine Translation Service Application on server 2016
  5. Go back to the Site Collection, configure the Target Site Label in the Variation Label Settings, the allow Machine Translation for Target Lable should be enabled now as shown below.
    allow Machine Translation on this site is disabled SharePoint 2016

2) Associate the Machine Translation Service to Web Application

In some cases, you may be configured the Machine Translation Service after creating the Web Application, and you already use "Custom" Service Application.
In this case, you have to associate the newly created Machine Translation Service to the Web Application that holds the current site collection by doing the following:

Steps:

  1. Open Central Administration > Application Management > Manage Web Application.
  2. Select your web application, and from the above ribbon, click on "Service Connections".
    Connect service application to web application SharePoint 2016
  3. Make sure that the Machine Translation Service is checked, then click OK.
    Configure Service application Assoiciatons SharePoint 2016

3) Start Machine Translation Service
In some cases, after configuring the Machine Translation Service, the service may be not started (STOPPED) automatically, and you have to start it manually by doing the following:

Steps:

  1. Open Central Administration > System Settings > Services on Server.
    Manage Service on Server SharePoint 2016
  2. Search for Machine Translation Service, and check its status, if it was STOPPED, try to start it.
    Machine Translation Service Stopped SharePoint 2016

If the above steps don't help, you have to perform IISREST, check also SharePoint 2019 Variations

If you don’t ask, the answer is always NO!
...