Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alexa translations #2707

Merged
merged 7 commits into from
Sep 11, 2017
Merged

Alexa translations #2707

merged 7 commits into from
Sep 11, 2017

Conversation

tanja3981
Copy link
Contributor

The alexa response was hardcoded in english texts so far. I changed this so translations can be added to support alexa speaking different languages.

@tanja3981 tanja3981 closed this Jul 25, 2017
@tanja3981 tanja3981 reopened this Jul 25, 2017
@tanja3981
Copy link
Contributor Author

Could anybody approve this pull request or let me know if there is anything not right?

var response = 'Unable to determine current basal';
var preamble = '';
if (basalValue.treatment) {
preamble = (slots && slots.pwd && slots.pwd.value) ? translate('alexaPreamble3person', {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will these work even in the non-Alexa use-case?

@sulkaharo
Copy link
Member

Hi! Sorry for the extremely long delay. :( I'll pull this soon to test. Can you check this all works fine with the latest dev, I recently PRd in fairly significant changes.

@tanja3981
Copy link
Contributor Author

After merging current DEV the unit tests don't work anymore. :-(

@sulkaharo
Copy link
Member

Ah yes, sorry. :( I know there's one more I broke with the latest PR, a few are broken for unknown reasons. If you have time to help debug, that'd be super awesome.

@tanja3981
Copy link
Contributor Author

tanja3981 commented Aug 27, 2017 via email

@sulkaharo
Copy link
Member

Do you have Mongo running? If the tests can connect to a local Mongo, you should be able to reproduce the test results as is.

@sulkaharo
Copy link
Member

No wait, looks like some tests time out in Travis, which is strange. Taking a look.

@tanja3981
Copy link
Contributor Author

Sorry to come back so late. Couldn't make it this week...
I just merged the current DEV into this branch and tests are fine now.

@sulkaharo sulkaharo merged commit 28ffdc1 into nightscout:dev Sep 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants