Releases: QuiiBz/next-international
Releases · QuiiBz/next-international
0.6.4
0.6.3
What's Changed
- chore: documentation fixes by @QuiiBz in #70
- chore: fix docs by @bastibuck in #71
- fix(next-international): nested objects locales with
fallbackLocale
by @QuiiBz in #73
New Contributors
- @bastibuck made their first contribution in #71
Full Changelog: 0.6.2...0.6.3
0.6.2
0.6.1
0.6.0
Nested objects locales
You can now write locales using nested objects instead of the default dot notation. You can use the syntax you prefer without updating anything else:
// locales/en.ts
export default {
hello: 'Hello',
hello: {
world: 'Hello world!',
nested: {
translations: 'Translations'
}
}
} as const
It's the equivalent of the following:
export default {
'hello': 'Hello',
'hello.world': 'Hello world!',
'hello.nested.translations': 'Translations'
} as const
What's Changed
Full Changelog: 0.5.3...0.6.0
0.5.3
Fix the bundle that preserved JSX instead of transforming it with createElement
calls
Full Changelog: 0.5.2...0.5.3
0.5.2
Breaking change
I18nProviderServer
has been removed because it is now useless. You can simply remove it from your layout, see the README for the updated documentation.
What's Changed
Full Changelog: 0.5.1...0.5.2
0.5.1
0.5.0
App Router initial support
This release implements initial support for the App Router of Next.js 13. These changes shouldn't impact existing applications using the library with the Pages Router.
What's Changed
Full Changelog: 0.4.1...0.5.0