Setting Zabaan language Code
By default, the Zabaan SDK comes packaged with a language selection screen. If the Zabaan
language code is not set and the user clicks on the assistant, it will automatically show the screen shown below and prompt the user to select the language of their choice.
Enabling multiple languages for Zabaan
If you want to learn how to enable multiple language support for Zabaan, watch the video attached below.
Disable Zabaan Language Selection Screen
If the Zabaan languageCode
has not been set, clicking on the assistant will show the user a popup language selection screen. This will serve as a way for users to select the language in which they would like the assistant to speak to them. If you would like to prevent the language selection screen from popping up. It is ideal to do this after Zabaan has successfully initialized. Call below code to programmatically set language for Zabaan.
//ZabaanLanguages contains a list of certified language code contents for all languages supported by Zabaan
Zabaan.getInstance().setLanguage(ZabaanLanguages.ENGLISH);
//ZabaanLanguages contains a list of certified language code contents for all languages supported by Zabaan
Zabaan.getInstance().setLanguage(ZabaanLanguages.ENGLISH)