# Source: https://docs.chatling.ai/web-widget/language.md

# Source: https://docs.chatling.ai/chatbot/builder/blocks/condition/language.md

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chatling.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Language

> Learn how to use the Language condition block in Chatling

The Language condition block is used to define flows based on the user's browser language. This can be useful for creating multilingual bots that respond in the user's preferred language.

Let's say you want to create a bot that supports English, Spanish, and French languages. You can use the Language condition block to define different responses or actions based on the user's preferred language setting in their browser.

Below is an example of such a flow. The Else path is a fallback for users whose language is not supported by the bot. In this case, it falls back to the English language.

<img src="https://chatling-assets.b-cdn.net/language-conditional-flow.png" alt="Language conditional flow" width="700" />