Releases: adonisjs/i18n
Releases · adonisjs/i18n
Add locale negotiator and support for YAML
- refactor: split file path using unix and windows delimeter both 9957580
- feat: add negotiator to I18nManager class bf58214
- refactor: make data param optional when formatting message bd6d362
- feat: add support for yaml files 507001e
- improvement: update instructions to create resources/lang directory 4e8f37d
- fix: config stub to use correct property names and reference URL f2a6c48
Fixes for v1.0.0 and share t helper with templates
- refactor: rename messages to translations and write view related tests cabb541
- refactor: update DetectUserLocale middleware to share i18n with view aaca063
- feat: add view "t" global 27302ff
- fix: add container and events types to the main types file e921f21
- refactor: always have defaultLocale in the support languages array 5fc08c2
- fix: publish templates and instructions files to npm cdb8023
Full Changelog: v1.0.0...v1.0.1
Rewrite and change package name to `@adonisjs/i18n`
What's Changed
- fix(formatter): zero triggering fallback return by @seanc in #39
- Improve error when translation is missing for a given key by @viniciusoyama in #40
- build(deps): update intl-messageformat requirement from ^2.2.0 to ^5.0.1 by @dependabot-preview in #64
- [Snyk] Fix for 1 vulnerable dependencies by @snyk-bot in #56
- build(deps-dev): update semver requirement from ^5.5.1 to ^6.2.0 by @dependabot-preview in #49
- build(deps-dev): update @adonisjs/mrm-preset requirement from ^1.0.13 to ^2.0.3 by @dependabot-preview in #43
- build(deps-dev): update nyc requirement from ^13.0.1 to ^14.1.1 by @dependabot-preview in #47
- build(deps-dev): update commitizen requirement from ^2.10.1 to ^3.1.1 by @dependabot-preview in #44
New Contributors
- @seanc made their first contribution in #39
- @viniciusoyama made their first contribution in #40
- @dependabot-preview made their first contribution in #64
- @snyk-bot made their first contribution in #56
Full Changelog: v2.0.7...v1.0.0