Friday, 11 September 2015

Mechine Translation Service In SharePoint

Enabling Machine Translation service in share point

I used the following script to create the Machine translation service application. If you decide you don’t like the proxy name (and you probably won’t) replace it with the noted code. Same story with the settings service and app management service (created with powershell).

I hope it helps!

Create the Machine Translation Service

$apppool = “SharePoint Web Services Default”

$mtsinst = “Machine Translation Service”

$mtsname = “Translation Service”

$mtsdb = “SP_2013_ServiceApp_MachineTranslation”

$apppoolname = Get-SPServiceApplicationPool $apppool

Get-SPServiceInstance | ? {$_.GetType().Name -eq $mtsinst} | Start-SPServiceInstance

$mts = New-SPTranslationServiceApplication -Name $mtsname -ApplicationPool $apppoolname -DatabaseName $mtsdb

Remove and Recreate the MTS Proxy

Get-SPServiceApplicationProxy | ? {$_.TypeName -eq “Machine Translation Service Proxy”} | Remove-SPServiceApplicationProxy -Confirm:$false

$mtsproxy = New-SPTranslationServiceApplicationProxy -Name “$mtsname Proxy” -ServiceApplication $mts -DefaultProxyGroup

0 comments:

Post a Comment