Open xela1601 opened 4 years ago
Hi @xela1601 - that's right, the information is an automated event from Amazon's systems so some of the information you'd be used to like locale isn't available as it's not available (there is no user or device involved with this request so there's no way to ensure an accurate locale)
What's the use case you're trying to solve?
Hey @stoiveyp Thx for the fast reply. And also thank you for your Alexa library, it really helped me (and my company) a lot. I‘m currently developing an Alexa list skill, that forwards the products that are added to Alexa shopping list to our system. Currently the skill is only in German. I want to add English language to the skill. Then I need to process the items added dynamically depending on the user’s locale. Greets Alex
oooh yeah that'll be a tricky one.
You'll get the user information in the request, but the locale depends on where the user accesses your skill from - so these requests can't help with that...
I'm afraid you'd have to cache the locale of the last interaction with your skill and process them according to that, or maybe make it so the user can specify it in an intent?
Sorry I can't be of more help.
when I have a normal request this locale is set to "de-DE" or "en-US" but when it's a ListSkillItemCreatedRequest it's always null.