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

# Switch Locale

![Switch Locale Node configuration panel](https://mintcdn.com/cognigy-docs-legacy/sbu8K_1z3Hht9e7i/_assets/ai/develop/node-reference/logic/switch-locale.png?fit=max\&auto=format\&n=sbu8K_1z3Hht9e7i\&q=85\&s=626ee81122c9db51302d616ab682f8a9)

## Description

The Switch Locale Node changes the [Locale](https://docs-classic.cognigy.com/ai/platform-features/translation-and-localization/localization) of the Flow during a conversation. It is common to use this Node after language detection or based on the region of the user to execute a change to the conversational language or structure based on an assessment of the user's region or spoken language.

## Prerequisites

* A [Locale](https://docs-classic.cognigy.com/ai/platform-features/translation-and-localization/localization) must be configured in order to populate the options available for selection in the **Locale** list.

## Parameters

[Updated in 4.80](https://docs-classic.cognigy.com/release-notes/4.80.md)

| Parameter | Description |
| - | - |
| Use CognigyScript | Toggle to use CognigyScript to switch the Locale using the Locale reference ID in the **Locale** field. |
| Locale | Select the Locale to switch to or enter the Locale reference ID if the **Use CognigyScript** is activated. |

## Usage

To switch the Locale for the current execution, you need to use a [Think](https://docs-classic.cognigy.com/ai/agents/develop/node-reference/logic/think.md) Node after the Switch Locale Node. With this functionality, the current Flow is triggered again, but the new Locale is used.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.