Skip to content

feat/#140: implementation of translations for core library and expose respective handlers

This MR includes:

  • Implementation of flexible language handling - useLanguage hook with localized value extraction (current language → English fallback → first available)
  • Interactive testing in Storybook with controls for testing Roger's exposed ref methods
  • Enhanced component ref with language switching, theme control, validation, and notification handlers
  • Validation testing with sample valid/invalid data

To run locally:

  • Checkout the branch and run npm install to update node_modules
  • Run npm run dev which starts Storybook
  • Open HA/Rosenzweig Interactive stories for testing these handlers

Merge request reports

Loading