🏷️ v2.0.0
Changelog
Added
- Automaticaly detect browser language. Use the
detectLocale
provider prop. - Ability to provide custom locale pattern (default is still xx_XX)
- New provider props,
locales
andinitialLocale
Changed
- Split useLittera into two hooks (useLittera and useLitteraMethods)
- Change provider props naming. Language is now called locale etc.
See migration guide in README.md file.