Changing the language of the Assistant

Programmatically changing the language of the Assistant

If the app supports multiple locales and has the option for the user to change it, the app might want to change the assistant locale on the fly to keep it in sync with the app's locale. You can do so by using the below API

Native Android
Native Android
SlangRetailAssistant.changeLocale(SlangLocale.LOCALE_ENGLISH_IN);