Locale switcher
Last updated
Last updated
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.
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.