commit 0a724a6dea0c5c93761502c39cb110c13b80e0bc
Author: Vijay Budhram
Date: Mon Aug 18 11:42:56 2025 -0400
feat(localization): Implement dynamic localization context and language switcher
This commit introduces a new `DynamicLocalizationContext` to manage locale changes dynamically across the application. It includes the following changes:
- Added `LocaleToggle` component for users to switch languages.
- Implemented `useLocaleManager` hook to handle locale state and switching logic.
- Created `LanguageSwitcher` component for language selection with a dropdown interface.
- Updated `AppLayout` to conditionally render the `LocaleToggle` based on the `showLocaleToggle` prop.
- Enhanced localization support with new utility functions for managing locale preferences.
This feature improves user experience by allowing language switching and better localization management.