Reputation: 684
In my Action on Google
the language is getting reset to English again and again even when I have not called i18n.setLocale
, I call it only once in the Default Welcome Intent
.
Please let me know what might be wrong or how do I fix this. TIA
Upvotes: 0
Views: 28
Reputation: 86
It's most likely due to promises, I wrote a blog about this, check out section #4 of 5 Tips when Localizing your Action (adding different languages)
You can also see an example of how to correct for this in the GDG Sample Action
Upvotes: 1