Quick start: Change conversation language based on end user’s selection on any channel

Before you begin

Before you start, make sure you have everything you need:

Configure languages in your bot

  1. In your bot's language settings, configure the following:

  2. In your bot’s greeting, use a List Option block to present the language options you selected to your user.

  3. Use a Request block to set the end user’s language to their list selection.

    📘

    Language codes must be in BCP 47 4-digit format, per the End Users API schema.

  4. Save your greeting.

  5. Test the greeting in your Test Bot, embed, or any other channel. The conversation language should change immediately based on the end user’s selection, and the bot should immediately respond using the appropriate translation.