A Skill that allows end-users to interact with the Digital Person in a different language than the corpus is written in. This Skill can function as a pre-processor (translating user language into corpus language), a post-processor (translating corpus output back into user language), or both. This requires a Microsoft Cognitive Services key, for more information, see Create a Translator resource.
The Translation Skill allows end-users to interact with the Digital Person in a different language than the corpus is written in.
Two-letter Code for the Corpus Language (required)
TEXT
Specify the language code of the corpus. By default, this is set to English (en).
Obtaining Microsoft Translator API Key
The Translation Skill utilizes Microsoft Cognitive API to power the translations. To use this skill you will need to obtain an API key from Microsoft. These keys are free at the time of this document for up to 2M characters translated per month, but it is highly recommended to get a paid account so the skill will not stop working unexpectedly. To get an API key, do the following:
From the subscription, pick one (Development, Production, Sandbox)
For the region, Choose Global
For the Name, give it something unique, keeping in mind it will form part of a URL so can not have spaces or special characters. “sm-translation-service” for example
Once the resource is created, select it
Go to Keys and Endpoint from the left NAV window and you can see the APIs keys, region, and endpoint.
Supported Languages
Works best with STT supported languages. The STT, TTS, and the language code in the translator skill must be the same.
For best results, please choose languages that Soul Machines officially supports with Lip Sync.
Limitations
This skill relies on machine translation and may make grammatical or linguistic mistakes. This can also cause some skills to not behave as expected as the skill routing is based around trained phrases in the corpus language (English for all current cases)
Most proper names such as “Wolfram Alpha” do not have a direct translation, so may appear unaltered in the output
This skill does not work with certain skills that rely on replying with a specific language in mind such as Skill - Spelling. For example, If you ask to spell some word in a non-corpus language, your request will get translated to English first, the Spelling skill will spell the translated word (in English), then the output is translated back to the user’s language. The spelled word will still be English