
i18n features for your Nuxt project so you can easily add internationalization.
v8.0.0-beta.10 by
github-actions[bot]
🐞 Bug Fixes
- NavigateTo handling - by @kazupon in nuxt-modules/i18n#1842 (c439a)
- E2e errors on nuxt v3.1 - by @kazupon in nuxt-modules/i18n#1841 (2e41d)
- Update docs - by @kazupon in nuxt-modules/i18n#1835 (69505)
- Revert pnpm workspace - by @kazupon (891e6)
- Cannot resolve langDir path for locales file path - by @kazupon in nuxt-modules/i18n#1846 (1266c)
- Loop redirection - by @kazupon in nuxt-modules/i18n#1854 (225e0)
- Redirection loop on trailling slash - by @kazupon in nuxt-modules/i18n#1858 (9b0eb)
- Redirect status code - by @kazupon in nuxt-modules/i18n#1861 (23fe2)
- Cannot use some APIs on local scope - by @kazupon in nuxt-modules/i18n#1871 (c12f6)
- Navigation breaks - by @kazupon in nuxt-modules/i18n#1873 (50866)
View changes on GitHub
v8.0.0-beta.9 by
github-actions[bot]
🐞 Bug Fixes
- Changelog - by @kazupon (e93cc)
- Merge resources correctly on multiple lazy loading - by @kazupon in nuxt-modules/i18n#1809 (5bd81)
- Regression lazy loading for file option - by @kazupon in nuxt-modules/i18n#1813 (041c1)
- Compare also decoded Url with a route - by @szwenni and Sven Kröger in nuxt-modules/i18n#1816 (920a4)
- Correctly static site generation - by @kazupon in nuxt-modules/i18n#1824 (f8657)
View changes on GitHub
v8.0.0-beta.8 by
github-actions[bot]
🚨 Breaking Changes
- Injection fields completion for nuxt app instance and page meta - by kazuya kawaguchi in nuxt-modules/i18n#1711 (8e682)
🚀 Features
- Extend lazy loading - by kazuya kawaguchi in nuxt-modules/i18n#1801 (045d7)
🐞 Bug Fixes
- Cannot work completion for Composer interface - by kazuya kawaguchi in nuxt-modules/i18n#1707 (1876c)
- Not resolve deps on monorepo - by kazuya kawaguchi in nuxt-modules/i18n#1712 (ef240)
- Ensure same symbol on vue-i18n - by kazuya kawaguchi in nuxt-modules/i18n#1714 (395e4)
- Format - by kazuya kawaguchi (02ec6)
- Merge lazy loading resources to initial loading resources - by kazuya kawaguchi in nuxt-modules/i18n#1723 (26f66)
- Not reoslve vue-i18n module - by kazuya kawaguchi in nuxt-modules/i18n#1726 (226e2)
- Hydration miss match for prerender - by kazuya kawaguchi in nuxt-modules/i18n#1733 (caaea)
- Resolve extending messages correctly - by kazuya kawaguchi in nuxt-modules/i18n#1765 (46bd9)
- Resolve vue-i18n related modules on nuxt layers - by kazuya kawaguchi in nuxt-modules/i18n#1768 (e93ce)
- Not work differentDomains - by kazuya kawaguchi in nuxt-modules/i18n#1770 (cc6cc)
- Resolve ComponentCustomProperties type errors - by kazuya kawaguchi in nuxt-modules/i18n#1791 (81e29)
View changes on GitHub
v8.0.0-beta.7 by
github-actions[bot]
🚀 Features
- docs: Upgrade to latest Docus - by @Tahul in nuxt-modules/i18n#1702 (dfceb)
🐞 Bug Fixes
- Missing dependency modules such as
vue-i18n-routing
and@intlify/vue-*
- by @kazupon in nuxt-modules/i18n#1692 (563d6) - Lazy loading for fallback locale - by @kazupon in nuxt-modules/i18n#1694 (d43ee)
- Optimize tree-shaking for vue-i18n related modules - by @kazupon in nuxt-modules/i18n#1699 (8d278)
View changes on GitHub
v8.0.0-beta.6 by
github-actions[bot]
🐞 Bug Fixes
- Cannot work locale changing, when we move with
<NuxtLink>
onno_prefix
- by @kazupon in #1686 (159c4)
View changes on GitHub
v8.0.0-beta.5 by
github-actions[bot]
🚨 Breaking Changes
🐞 Bug Fixes
- Use nuxt3 rc12 on nuxtjs/i18n package with resolution field - by @kazupon (52b36)
- Enable includeUprefixedFallback on nitro:init hook - by @kazupon in #1642 (f7f71)
- Upgrade vue-i18n-routing for peer deps issue - by @kazupon in #1646 (4ba61)
- Resolve deps modules - by @kazupon in #1653 (b832f)
- V8 docs with docus official release version - by @kazupon in #1657 (3a466)
- Cannot export some perperties and functions via useI18n as local scope - by @kazupon in #1663 (378e2)
- AlwaysRedirect in detectBrowserLanguage - by @kazupon in #1668 (b0659)
- API type completion - by @kazupon in #1682 (bdf0d)
- gen: Consider named functions - by @ineshbose in #1616 and #1617 (e928b)
View changes on GitHub
v8.0.0-beta.4 by
github-actions[bot]
🚀 Features
🐞 Bug Fixes
- Diffrent domain loop redirection - by @kazupon in #1606
- Locale resources not loaded on windows - by @kazupon in #1607
- Non i18n custom block transforming - by @kazupon in #1608
- Suppress warning on 'prefix' strategy - by @kazupon in #1612
- Support i18n composable functions callable on definePageMeta functions - by @kazupon in #1629
- Extract defineI18nRoute options fully - by @kazupon in #1636
- Locale resources esm loading with import assertions - by @kazupon in #1637
- Install failing with @vue/composition-api peer deps - by @kazupon in #1639
View changes on GitHub
v8.0.0-beta.3 by
github-actions[bot]
🚀 Features
🐞 Bug Fixes
- Avoid route reactivity value missing - by @kazupon in #1586
- Prefix strategy routing - by @kazupon in #1592
- Cannot work i18n custom block on 'lazy: false' - by @kazupon in #1595
- Cannot work browser locale on no_prefix strategy - by @kazupon in #1597
- Default composition mode - by @kazupon in #1599
View changes on GitHub
v8.0.0-beta.2 by
github-actions[bot]
🐞 Bug Fixes
- Wrong locales file extension - by @luthfi-hh in #1578
- Resolve type definition missing - by @kazupon in #1583
- Peer dependencies conflict on pnpm - by @kazupon in #1584
View changes on GitHub
v8.0.0-beta.1 by
github-actions[bot]
🚀 Features
- Support nuxt v3 rc.11 - by @kazupon in #1551
- Support
rootRedirect
option - by @kazupon in #1560 - Support dynamic route params localization - by @kazupon in #1562
- Support page transition locale switching fully - by @kazupon in #1566
- Support per-component translations - by @kazupon in #1567
- Support nuxt3 rc.12 - by @kazupon in #1570
🐞 Bug Fixes
- Add
defineNuxtRouteMiddleware
wrapper - by @danielroe in #1558 - Cannot generate on differentDomains - by @kazupon in #1559
- Type errors - by @kazupon in #1571
- Disable node v19 - by @kazupon in #1573
- Wrong packaging - by @kazupon in #1574
- Wrong resolving and exports - by @kazupon in #1575
View changes on GitHub
v8.0.0-alpha.3 by
github-actions[bot]
🚀 Features
- Support differentDomains - by @kazupon in #1540
- Support
defaultDirection
option - by @kazupon in #1541 - Custome route path for component with
defineI18nRoute
- by @kazupon in #1544 - Support ignoring localized routes - by @kazupon in #1546
- Support extending messages hook - by @kazupon in #1550
View changes on GitHub
v8.0.0-alpha.2 by
github-actions[bot]
🚀 Features
- Support
identifierAttribute
option foruseLocaleHead
- by @kazupon in #1526 - Support
strategy
property API - by @kazupon in #1533 - Support detect browser language fully - by @kazupon in #1534
🐞 Bug Fixes
- Remove wrong release section - by @kazupon (6ae1c)
- Upgrade vue-i18n-routing v0.1 - by @kazupon (d1ee9)
- Improve error handling for vue-i18n v9 invalid message syntax - by @kazupon in #1522
- Avoid deprecated use of
params
on vue-router - by @kazupon in #1523 - Duplicate onLanguageSwitched calls - by @kazupon in #1528
- Custom nested route path for configuration - by @kazupon in #1531
- module: Transpile edge aswell - by @dargmuesli in #1516
View changes on GitHub
v8.0.0-alpha.1 by
kazupon
8.0.0-alpha.1 (2022-09-03)
This release is for Nuxt3.
This version is sitll alpha, the API might subject to breaking changes. We will make every effort to have the same I/F as v7.x, but Nuxt 3 is a major release, it might not be the same I/F.
About details, please check the v8 docs.
v8 alpha or later does not support Nuxt Bridge.
We will support Nuxt Bridge for v7.4 or v7.x later version. please see the Github Discussions for a detailed discussion of Nuxt Bridge supporting.
Thank you for your understanding 💚
v7.3.0 by
rchl
v7.2.1 by
rchl
v7.2.0 by
rchl
v7.1.0 by
rchl
v7.0.1 by
rchl
v7.0.0 by
rchl
This is a major version release that changes some defaults, deprecates some options and changes the name of the published package. Refer to the Migration Guide from v6 to v7 for detailed migration steps.
⚠ BREAKING CHANGES
- rename package to
@nuxtjs/i18n
- set
redirectOn
toroot
by default (#1244) - remove vuex
syncLocale
& vuexsyncMessages
(#1240) - disable
addDirAttribute
by default (#1239) - replace
onlyOnNoPrefix
andonlyOnRoot
withredirectOn
(#1210) - remove deprecated
seo
option (#1232) - remove deprecated
$nuxtI18nSeo
(#1207) - types: remove deprecated
NuxtVueI18n
(#1206) - remove deprecated
beforeLanguageSwitch
(#1200)
Code Refactoring
- disable
addDirAttribute
by default (#1239) (eac6130) - remove deprecated
$nuxtI18nSeo
(#1207) (d8134a3) - remove deprecated
beforeLanguageSwitch
(#1200) (d591662) - remove deprecated
seo
option (#1232) (bedf2b8) - remove vuex
syncLocale
& vuexsyncMessages
(#1240) (399f1a3) - rename package to
@nuxtjs/i18n
(b3ef21c) - replace
onlyOnNoPrefix
andonlyOnRoot
withredirectOn
(#1210) (2eb955a) - set
redirectOn
to root by default (#1244) (956df98) - types: remove deprecated
NuxtVueI18n
(#1206) (e96688c)
v6.28.0 by
rchl
v6.27.2 by
rchl
v6.27.1 by
rchl
v6.26.0 by
rchl
v6.25.0 by
rchl
v6.24.0 by
rchl
v6.23.0 by
rchl
v6.22.3 by
rchl
v6.22.0 by
rchl
v6.21.1 by
rchl
v6.21.0 by
rchl
v6.20.5 by
rchl
Bug Fixes
- don't apply any locale-logic to non-existent routes (#1093) (7180412), closes #1092
- recursive clone triggered when locales object made reactive (#1090) (83c4398), closes #1075
- support localePath with path input and customized routes (#1088) (4043968)
- docs: adjusted example code in documentation to call the right context (#1087) (7b8f77d)
v6.20.4 by
rchl
v6.20.2 by
rchl
v6.20.1 by
rchl
v6.19.0 by
rchl
v6.18.0 by
rchl
v6.17.0 by
rchl
v6.16.0 by
rchl
Features
Refactor
- replace clonedeep with klona (#981)
Bug Fixes
- detectBrowserLanguage: use ISO code if available (#965) (1e39a3b), closes #979 #499
- docs: add defaultLocale to examples (#955) (4b69c6c)
- docs: add missing parenthesis (#941) (4ecdee1)
- docs: clarify the type of the vueI18n option (c9be559)
- docs: fix some links in the documentation (1249226)
- docs: fix some more links in the documentation (abbf212)
- docs: include defaultLocale in the example configuration (#951) (6bacb3b)
- docs: remove unwanted characters (bc9f76e), closes #960
- generate: don't try to redirect route when static generating (#989) (d5957d0), closes #911
- test: fix test expectation for trailingSlash=true (c9f2ef5)
v6.15.4 by
rchl
v6.15.3 by
rchl
v6.15.2 by
rchl
v6.15.1 by
rchl
v6.15.0 by
rchl
Features
Bug Fixes
IMPORTANT
For improved SEO, it's highly recommended to set detectBrowserLanguage.onlyOnRoot
to true if you are using strategy other than no_prefix
with detectBrowserLanguage
enabled. This will ensure that crawlers won't get redirected when crawling pages other than the root page, which would then be considered duplicate content.
This will likely become a default behavior in the future.
v6.14.2 by
rchl
v6.14.0 by
rchl
v6.13.12 by
rchl
v6.13.11 by
rchl
v6.13.10 by
rchl
v6.13.9 by
rchl
v6.13.8 by
rchl
v6.13.7 by
rchl
v6.13.5 by
rchl
v6.13.4 by
rchl
v6.13.3 by
rchl
v6.13.2 by
rchl
v6.13.1 by
rchl
v6.13.0-beta.0 by
rchl
v6.12.2 by
rchl
v6.12.1 by
rchl
Bug Fixes
- crash on using nuxt-i18n properties in a component with i18n options (#736) (fd8b684), closes #557
- don't add trailing slashes to generated routes (#733) (b062044), closes #717
- favor non-prefixed route with prefix_and_default strategy (#732) (09d2c0f), closes #721
- remove encodePaths option and don't encode paths by default (#731) (aba92b3), closes #712
v6.12.1-beta.0 by
rchl
v6.12.0 by
rchl
v6.11.1 by
rchl
v6.11.0 by
rchl
v6.10.2-beta.0 by
rchl
v6.10.0 by
rchl
v6.9.3 by
rchl
v6.9.2 by
rchl
v6.9.1 by
rchl
v6.9.0 by
rchl
6.9.0 (2020-04-14)
Improvement
v6.8.1 by
rchl
v6.8.0 by
rchl
v6.7.2 by
rchl
v6.7.1 by
rchl
v6.7.0 by
rchl
v6.6.1 by
rchl
6.6.1 (2020-03-16)
Bug Fixes
- types: add vueI18nLoader to AllOptionsInterface (#634) (f1dd816)
- add tests for forwardedHost change, deprecate setting instead of removing (3f4d135)
- Incomplete initialization with 'en-US' locale code and no default (#629) (eeb63bb), closes #628
- remove forwardedHost option - make domain matching consistent on server/client (#630) (2a17c99)
v6.6.0 by
rchl
v5.3.0 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.3.0", "tag_name": "v5.3.0", "date": "2018-09-11T19:57:08Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.3.0", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.3.0", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.3.0", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.2.1 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.2.1", "tag_name": "v5.2.1", "date": "2018-08-26T14:59:00Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.2.1", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.2.1", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.2.1", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.2.0 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.2.0 ", "tag_name": "v5.2.0", "date": "2018-08-24T13:34:36Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.2.0", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.2.0", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.2.0", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.1.1 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.1.1", "tag_name": "v5.1.1", "date": "2018-08-14T16:11:19Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.1.1", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.1.1", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.1.1", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.1.0 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.1.0", "tag_name": "v5.1.0", "date": "2018-08-12T00:04:09Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.1.0", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.1.0", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.1.0", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.0.3 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.0.3", "tag_name": "v5.0.3", "date": "2018-08-10T20:28:39Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.0.3", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.0.3", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.0.3", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }
v5.0.2 by
paulgv
{ "message": "You should use slots with <ContentRenderer>", "value": { "name": "v5.0.2", "tag_name": "v5.0.2", "date": "2018-08-09T20:47:55Z", "body": "", "v": 5, "url": "https://github.com/nuxt-modules/i18n/releases/tag/v5.0.2", "tarball": "https://api.github.com/repos/nuxt-modules/i18n/tarball/v5.0.2", "zipball": "https://api.github.com/repos/nuxt-modules/i18n/zipball/v5.0.2", "prerelease": false, "author": { "name": "paulgv", "url": "https://github.com/paulgv", "avatar": "https://avatars.githubusercontent.com/u/4895885?v=4" } }, "excerpt": false, "tag": "div" }