DoneDeal0/Talkr
Talkr is the lightest i18n provider for React applications. It supports Typescript, provides autocompletion, has 0 dependencies, and is very easy to use.
9 Releases
Latest: 1y ago
v3.5.1Latest
🐛 Bug Fixes
- arrays autocompletion ([5fc26f3](https://github.com/DoneDeal0/Talkr/commit/5fc26f3a86523c16b0f401b1925f295d1cc464df))
v3.5.0
✨ Features
- ci-cd workflow ([b323a58](https://github.com/DoneDeal0/Talkr/commit/b323a5814a0be79c348297043177d7cc7b5f584c))
- FUNDING.yml ([3b0031e](https://github.com/DoneDeal0/Talkr/commit/3b0031e2be887e0051125047ab1be10543f5a74b))
- handle lists ([b48ada0](https://github.com/DoneDeal0/Talkr/commit/b48ada0265ac25c68daf5c39bc408df2ac389379))
3.4.0v3.4.0
📋 Changes
- improve autocompletion typing (thanks @dolie)
- add CI
3.3.7
📋 Changes
- Fix output type of `T()`. It now returns `string` instead of `ReactNode`
- If a key doesn't exist in a translation file, Talkr will now return an empty string instead of `null`
v3.3.0
📋 Changes
- Support React Native
- Add `gender` option to allow more precise translations
- Update documentation
- Update devDependencies and update tests
v3.2.0react18
📋 Changes
- supports React 18 concurrent rendering
- upgrade dev dependencies
v3.1.6website
📋 Changes
- add link to official website (https://talkr-documentation.netlify.app/)
- update README.md with minimum Typescript version requirement for autocompletion
v3.1.0minor
📋 Changes
- allow conditional rendering
- update README.md
- improve typing
- bump dependencies
- merge all utilities in a single `useT` hook
- `useLocale` is removed
- the autocompletion function must be a hook
- `T` must be instantiated with `useT()`
V3.0.5major
📋 Changes
- provides autocompletion for translation keys
- in order to avoid breaking changes and performance issues for huge json files, the autocompletion is optional, and must be configured in a `translate.ts` file (see documentation)
- update `README.md`
- refactor code structure
