> For the complete documentation index, see [llms.txt](https://accelerator.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://accelerator.gitbook.io/docs/features/locale-switcher.md).

# Locale switcher

The **Locale Switcher** component enables users to change the language of the application effortlessly. It dynamically adjusts the locale based on user selection and supports multiple languages as defined in the configuration.

<figure><img src="https://1120314470-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtIC4frjJCaZ16PqRKkhj%2Fuploads%2F7GOWRKwJ8oVNQwDBDkEE%2FScreenshot%202025-02-09%20at%2002.14.41.png?alt=media&amp;token=d2f4fa6a-7c10-4045-b8a2-01f2ee7fd185" alt="" width="165"><figcaption></figcaption></figure>

* **Multi-language support** – Displays available languages from `SUPPORTED_LOCALES`.
* **Automatic detection** – Identifies the current locale based on the URL path.
* **Visual indicators** – Uses country flags (`LOCALE_ICON`) to represent languages.
* **Customizable** – Easily extendable by adding more supported locales.
