LogoLogo
  • Overview
  • Voice Assistants as a Service
  • Voice Assistant Concepts
  • Voice Assistant Components
  • Voice Assistant Types
  • Platform & Languages Supported
  • Getting Started
    • Integrating Slang CONVA into Retail e-Commerce Apps
      • Setting up Slang CONVA
      • Customizing the Assistant
      • Code Integration
        • CONVA Search
          • Advanced Topics
        • CONVA Plus
          • Supported User Journeys
            • Search
            • Order Management
            • Checkout
            • Offer Management
            • Navigation
    • Integrating Slang CONVA into Travel e-Commerce Apps
      • Setting up Slang CONVA
      • Code Integration - Basic Steps
      • Supported User Journeys
        • Search
        • Navigation
  • Advanced Topics
    • Asynchronous Action Handling
    • Changing the Assistant behavior at runtime
      • Launching the Assistant Programmatically
      • Changing the language of the Assistant
      • Accessing and Setting User Journey Context
    • Advanced Assistant Customizations
      • Customizing the Visual nature of the Assistant
      • Customizing the conversational aspects of the Assistant
      • Training the Assistant to recognize additional data
        • Customizing Retail Subdomain Data
  • Sample Apps
    • Slang Playground App
    • Slang Retail e-Commerce App
Powered by GitBook
On this page

Was this helpful?

  1. Advanced Topics
  2. Changing the Assistant behavior at runtime

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

SlangRetailAssistant.changeLocale(SlangLocale.LOCALE_ENGLISH_IN);
PreviousLaunching the Assistant ProgrammaticallyNextAccessing and Setting User Journey Context

Last updated 4 years ago

Was this helpful?