Zero to Hero, Part 2: Skill Internationalization (i18n), Interceptors & Error Handling
Вставка
- Опубліковано 13 жов 2024
- In this video we're going to continue on our Alexa skill building journey and focus on internationalization (i18n). We'll depart from a simple hello world skill in English and add support for more than one language while keeping a single code base.
Topics Covered:
1. Multiple models per locale
2. Key/value string resources for i18n
3. Enriching handlerInput with t function via interceptor
4. Attribute manager as key/value store
5. High level attribute types (session(short term), persistent(long term))
6. Changing locale on Build tab and on Test tab (test both locales)
Links
Zero to Hero Github:
Zero to Hero Github Part 2: alexa.design/Z2H2
Need help? Engage with other developers and get questions answered by Amazon experts on our Developer Forum: forums.develop...
For specific support: developer.amaz...
Andrea, thanks a lot to share your knowledge.
These videos are so helpful, Alexa's architecture seems a little bit confusing to understand at first, but it turned to be simple for now.
Congrats
Binding the t function to an input object is a great trick. I gotta remember that.
When I try to test the Italian translation, it didn't work.
And I kinda confused where I was wrong.
Then I realized that the "invocation name" can be different across the supported languages.
I hope this might help you guys who have same problem with me.
Thank you so much
I'm having issues with the syntax for the languagstrings that includes es-US and en-US. Is there any example of this code somewhere for javascript?
Where can we learn the above skill development techniques if coding in python? I can follow the instructions as above if I get the commands and code library for python as the one provided is for json.
I keep getting "WELCOME_MSG" instead of the actual message
We need same tutorial using Python
I am getting :Sorry, I'm having trouble accessing your Hello World! Skill right now
Hello. Where I find the files that Andrea copy and paste to the code?
its in the github repository in the decription
@@strikerron2252 thanks!
where do we get the italian code???
There's a link at the top.
can i add Arabic Language Support
"Si è verificato un problema con la risposta della Skill richiesta"
muito mal explicado e confuso...não me admira ninguém programar skills para alexa