Frontend Accelerator
Frontend Accelerator
  • Getting Started
    • Welcome
    • Start right now 👉
  • Setup
    • Database
    • Payments
    • Authentication
    • AI
  • Features
    • Dashboard
    • Localization
    • Changelog
    • Rich text editor
    • Lead magnet
    • Checkout button
    • Sign in button
    • Sales countdown banner
    • Capture email button
    • Locale switcher
    • Social icons
  • Extra
    • Theming
    • Support
Powered by GitBook
On this page
  1. Features

Locale switcher

PreviousCapture email buttonNextSocial icons

Last updated 2 months ago

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.