Translating the Interaction Model
As we’ve developed the Star Port 75 Travel skill, we’ve defined the skill’s interaction model—utterances, slots, dialogs, and prompts—in the skill-package/interactionModels/custom/en-US.json file. As implied by its name, that interaction model is specifically for devices configured for U.S. English. Now, as we are ready to expand to other locales and languages, we need to create additional interaction model files.
Alexa does not support all languages or locales. Chinese, for instance, isn’t supported yet, nor are any Chinese locales such as Hong Kong, Taiwan, and Singapore. Nevertheless, Alexa does support nine languages in over a dozen different locales:
- Arabic/Saudi Arabia (ar-SA)
- German/Germany (de-DE)
- English/Australia ...
Get Build Talking Apps for Alexa now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.