All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Update deps
- withTranslate bug props not passed to decorated component
- Release it 🚀🚀🚀
You cannot access anymore to context directly
- Improved useTranslate so you can access to properties of the context
- Remove exported context
- Fixed an uncontrolled error when a deep translation was not defined in a json file
- Fixed an uncontrolled error when you don't have the locale json assigned in your config
- instead of getting value as prop of the provider pass i18n prop and change Configuration interface to I18nConfiguration
- Trans component accepts an array with translation so you can join phrases
- Fix case when zero items and we should translate as plural
- Posibility of using the t function outside of react components, now you can use it instancing a configuration and you can use it outside of React lifecycle
- Update language when we change the value of the provider
- Almost a stable beta version