-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from bbezerra82/translationFixes
Locales addition and Translation fixes
- Loading branch information
Showing
15 changed files
with
1,526 additions
and
513 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
# Alexa Prompts Language Constants | ||
|
||
WELCOME_MSG = "WELCOME_MSG" | ||
WELCOME_REMPROMPT_MSG = "WELCOME_REMPROMPT_MSG" | ||
WELCOME_REPROMPT_MSG = "WELCOME_REPROMPT_MSG" | ||
WELCOME_BACK_MSG = "WELCOME_BACK_MSG" | ||
WELCOME_BACK_MSG_plural = "WELCOME_BACK_MSG_plural" | ||
HAPPY_BIRTHDAY_MSG = "HAPPY_BIRTHDAY_MSG" | ||
HAPPY_BIRTHDAY_MSG_plural = "HAPPY_BIRTHDAY_MSG_plural" | ||
REGISTER_BIRTHDAY_MSG = "REGISTER_BIRTHDAY_MSG" | ||
HELP_MSG = "HELP_MSG" | ||
GOODBYE_MSG = "GOODBYE_MSG" | ||
REFLECTOR_MSG = "REFLECTOR_MSG" | ||
ERROR_MSG = "ERROR_MSG" | ||
ERROR_TIMEZONE_MSG = "ERROR_TIMEZONE_MSG" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
ask-sdk-core | ||
ask-sdk-s3-persistence-adapter | ||
boto3 | ||
pytz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
{ | ||
"interactionModel": { | ||
"languageModel": { | ||
"invocationName": "herzlichen glückwunsch", | ||
"intents": [ | ||
{ | ||
"name": "AMAZON.CancelIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.HelpIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.StopIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.NavigateHomeIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER" | ||
} | ||
], | ||
"samples": [ | ||
"{day} {month}", | ||
"{day} {month} {year}", | ||
"{month} {year}", | ||
"Ich bin am {day} {month} geboren", | ||
"Ich bin am {day} {month} {year} geboren", | ||
"Ich bin am {month} {year} geboren", | ||
"merke dir meinen Geburtstag" | ||
] | ||
} | ||
], | ||
"types": [] | ||
}, | ||
"dialog": { | ||
"intents": [ | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"confirmationRequired": false, | ||
"prompts": {}, | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month", | ||
"elicitationRequired": true, | ||
"confirmationRequired": false, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.795077103633" | ||
} | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal", | ||
"elicitationRequired": true, | ||
"confirmationRequired": false, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.985837334781" | ||
} | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER", | ||
"elicitationRequired": true, | ||
"confirmationRequired": false, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.27341833344" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"delegationStrategy": "ALWAYS" | ||
}, | ||
"prompts": [ | ||
{ | ||
"id": "Elicit.Slot.303899476312.795077103633", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "Ich wurde im November geboren. In welchem Monat wurdest du geboren?" | ||
}, | ||
{ | ||
"type": "PlainText", | ||
"value": "In welchem Monat wurdest du geboren?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.985837334781", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "Ich wurde am sechsten geboren. An welchem Tag wurdest du geboren?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.27341833344", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "Ich wurde im Jahr zweitausendvierzehn geboren. In welchem Jahr wurdest du geboren?" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"version": "2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"interactionModel": { | ||
"languageModel": { | ||
"invocationName": "cake walk", | ||
"intents": [ | ||
{ | ||
"name": "AMAZON.CancelIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.HelpIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.StopIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.NavigateHomeIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER" | ||
} | ||
], | ||
"samples": [ | ||
"{month} {day}", | ||
"{month} {day} {year}", | ||
"{month} {year}", | ||
"I was born on {month} {day} ", | ||
"I was born on {month} {day} {year}", | ||
"I was born on {month} {year}", | ||
"register my birthday" | ||
] | ||
} | ||
], | ||
"types": [] | ||
}, | ||
"dialog": { | ||
"intents": [ | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"confirmationRequired": false, | ||
"prompts": {}, | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.795077103633" | ||
} | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.985837334781" | ||
} | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.27341833344" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"delegationStrategy": "ALWAYS" | ||
}, | ||
"prompts": [ | ||
{ | ||
"id": "Elicit.Slot.303899476312.795077103633", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born in November. What month were you born?" | ||
}, | ||
{ | ||
"type": "PlainText", | ||
"value": "What month were you born?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.985837334781", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born on the sixth. What day were you born?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.27341833344", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born in two thousand fourteen, what year were you born?" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"interactionModel": { | ||
"languageModel": { | ||
"invocationName": "cake walk", | ||
"intents": [ | ||
{ | ||
"name": "AMAZON.CancelIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.HelpIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.StopIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "AMAZON.NavigateHomeIntent", | ||
"samples": [] | ||
}, | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month" | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal" | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER" | ||
} | ||
], | ||
"samples": [ | ||
"{month} {day}", | ||
"{month} {day} {year}", | ||
"{month} {year}", | ||
"I was born on {month} {day} ", | ||
"I was born on {month} {day} {year}", | ||
"I was born on {month} {year}", | ||
"register my birthday" | ||
] | ||
} | ||
], | ||
"types": [] | ||
}, | ||
"dialog": { | ||
"intents": [ | ||
{ | ||
"name": "CaptureBirthdayIntent", | ||
"confirmationRequired": false, | ||
"prompts": {}, | ||
"slots": [ | ||
{ | ||
"name": "month", | ||
"type": "AMAZON.Month", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.795077103633" | ||
} | ||
}, | ||
{ | ||
"name": "day", | ||
"type": "AMAZON.Ordinal", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.985837334781" | ||
} | ||
}, | ||
{ | ||
"name": "year", | ||
"type": "AMAZON.FOUR_DIGIT_NUMBER", | ||
"confirmationRequired": false, | ||
"elicitationRequired": true, | ||
"prompts": { | ||
"elicitation": "Elicit.Slot.303899476312.27341833344" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"delegationStrategy": "ALWAYS" | ||
}, | ||
"prompts": [ | ||
{ | ||
"id": "Elicit.Slot.303899476312.795077103633", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born in November. What month were you born?" | ||
}, | ||
{ | ||
"type": "PlainText", | ||
"value": "What month were you born?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.985837334781", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born on the sixth. What day were you born?" | ||
} | ||
] | ||
}, | ||
{ | ||
"id": "Elicit.Slot.303899476312.27341833344", | ||
"variations": [ | ||
{ | ||
"type": "PlainText", | ||
"value": "I was born in two thousand fourteen, what year were you born?" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.