This release has breaking changes. See the migration guide from 0.x
to 1.0
.
BREAKING CHANGES
- Add plurals: zero, one, two, few, many, other #345 (by @aralroca)
- Replace CLI to next plugin + move project to typescript + refactor #359 (by @aralroca)
CHANGES
- Add getT to get the t function outside components / pages #383 #386 (by @aralroca)
- Add loadNamespaces in case that someone don't want to use the loader #345 #383 (by @aralroca)
- Add support for nesting plural translations #368 (by @josephfarina)
- Add support to customize the interpolation delimeter #373 (by @josephfarina)
PATCHES
- Add bundle analyzer to example #379 (by @aralroca)
- Add migration guide
0.x
to1.0.0
#349 (by @dislick) - Change config way i18provider #369 (by @aralroca)
- Clean build plugin packages #372 (by @aralroca)
- Fix _app.js with class extended from NextApp #371 (by @aralroca)
- Fix auto-import #380 (by @aralroca)
- Improve config i18nprovider #370 (by @aralroca)
- Re-add Translate type #376 #377 (by @aralroca & @gurkerl83)
- Update README adapted to
1.0
#359 (by @aralroca) - Update example adding custom interpolation #375 (by @aralroca)
- fix: compiled page pathname in windows #362 (by @vimutti77)
Useful links
- About Next-translate 1.0
- How to start with Next-translate 1.0
- Migration guide 0.x to 1.0
- Demo video with 1.0
- Examples with 1.0
Credits
Huge thanks to @dislick, @vimutti77, @josephfarina, @gurkerl83, @aralroca and to everyone who has contributed with issues, ideas, comments in the PR, etc, for helping! 🙏