setBingAccess

setBingAccess ( string bingClientId , string location ) : void

Set a Bing Translate access. Important to use before translateBing.

Create a Bing access

1) Subscribe on Bing : https://azure.microsoft.com/free/cognitive-services/

2) Go here to get the Bing Translate service : https://ms.portal.azure.com/#create/Microsoft.CognitiveServicesTextTranslation and create a ressource. At the end click on access the ressource.

3) In the ressource go in Keys and Endpoint.

4) Copy your Bing ID and the Location.

7) Go in your script in Intelligent Catalog Importer & Manager (Catalog > Intelligent Importer > Manage catalogs > Edit > Find the field where is your script)

8) Use the function setBingAccess like this : setBingAccess("YOUR_ID","YOUR_LOCATION"). If this function is already in your script, uncomment it (remove // before setBingAccess(... )

Parameters

bingClientId

location

Value indicated when you had configured the ressource, it can be global of westeurope for example. It is in the Key part.