- removed
inferParameterTypes
because of the issues with TypeScript
- Added new flag in I18N options called
inferParameterTypes
which could automatically infer mustache parameters.
- Added a
createPluralize
function instead of the separatepluralizeEn
/pluralizeRu
functions. - Deprecated
pluralizeEn
andpluralizeRu
functions. - Improved documentation.
useI18n
hook now returns an object instead of theI18N
instance. The returned values are now bound and will update it's reference whenever the language changes. AlsogetLang
was deprecated in favor of thelang
.
- Initial release.