Dynamic translation error message

kafley_monami
Tera Contributor

Hello,

 

I have configured the Dynamic translation in my test instance(for testing purpose), and it works fine with Microsoft Translation after configuring the Azure credentials.

The problem I currently face is that: I have the translator button next to the UI field box but I get the attached error message.

"Unable to translate"

 

Can some one tell me how to achieve:

Along with Connection URL & Credentials, please populate the value of the connection attribute 'Ocp-Apim-Subscription-Region' with the   location value that customer has selected. 

 

Google search gave this clue but I want to know how can I select the customer location to the attribute 'Ocp-Apim-Subscription-Region'?

 

Any leads will be much appreciated.

 

TIA,

Monami

4 REPLIES 4

Brian Bakker
ServiceNow Employee
ServiceNow Employee

@kafley_monami 

 

Please review KB0861085: Getting an error as "Unable to Translate. Try again" when clicked on the Translation icon... to check and confirm the settings for Dynamic Translation.

 

Regards,

Brian

Hi @Brian Bakker,

 

I followed the exact same link and completed the procedure.

The last point of Resolution(number 4) is where I am stuck!

Can't figure out how to populate the customer selected location value for the attribute 'Ocp-Apim-Subscription-Region'!

 

 

@kafley_monami 

 

Please check the [sys_alias] record for MicrosoftTranslation [sn_ms_trans_spoke.MicrosoftTranslation] and you should see the Connection Attribute "Ocp-Apim-Subscription-Region".

 

Microsoft Translation Alias record.png

Joseph003
Tera Contributor

Hi,

In my case, adding the HTTP header to the Outbound REST Message resolved the "Unable to translate" issue.

The HTTP header values are:

Name: Ocp-Apim-Subscription-Region

Value: canadacentral (or whichever region is specified in the Translate resource in Azure)

Note: You also need to create Rest Message and provide the right values in it.


Best,
Joseph