Search code examples
google-assistant-sdkactionbuilder

how to change conversation language of google assistant from webhook after the action is invoked


I am working on a app in google assistant using the action builder. My default language is English. Now I want to add another language to my app. I did all the settings related to second language. It works if I call from the other one. Now I want to provide a facility to user to change language while running the action. How to do that? Please help.


Solution

  • The platform does not provide a mechanism to let you switch languages mid-conversation. If the user has both languages enabled on their Assistant, they will be able to initiate conversation in one of those languages.

    The documentation provides more info on localization: https://developers.google.com/assistant/console/add-languages