VBScript Lua
This example demonstrates the usage of the AzureTranslate GSE action.
It translates any given text written in any language into any other langauge In case of an error (in the usage or execution of the AzureTranslate action) it simply plays a beep.
To install it:
-
Open the Call Routing Manager of your desired SwyxWare user.
-
Click the "New Rule..." button.
-
Select "Graphical Script Editor" and click Ok.
-
Within the GSE open the File | Import... menu and click No.
-
From the download package select the following file:
For VBScript usage:VBScript based\rse\Translate Text.rse
For Lua usage:Lua based\rse\Translate Text.rse -
You need to make some modifications in the AzureTranslate block (at least your subscription key and of course the text you want to translate). They are explained in detail in chapter 3.1 - Usage.
By Tom Wellige
