\n\n### Describe the bug\n\n`optimizeDeps.include` is filled here now:\n\nhttps://github.com/nuxt-modules/i18n/blame/7afd44a25a164def10fa24b553af9cda78576edb/src/alias.ts#L48\n\nBut seemingly only relevant for the source project itself?\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3250],{"name":3251,"color":3252},"🍰 p2-nice-to-have","0e8a16",3731,"Vite warning in dev - failed to resolve dependency in `optimizeDeps.include`","2025-07-20T18:00:28Z","https://github.com/nuxt-modules/i18n/issues/3731",0.69873303,{"description":3259,"labels":3260,"number":3265,"owner":3178,"repository":3179,"state":3228,"title":3266,"updated_at":3267,"url":3268,"score":3269},"### Environment\n\n------------------------------\n- Operating System: Darwin\n- Node Version: v20.18.0\n- Nuxt Version: 3.16.0\n- CLI Version: 3.22.5\n- Nitro Version: 2.11.6\n- Package Manager: pnpm@9.12.2\n- Builder: -\n- User Config: modules, devtools, app, css, runtimeConfig, future, compatibilityDate, vite, postcss, eslint, i18n, image, prismic\n- Runtime Modules: @nuxt/eslint@1.2.0, @nuxtjs/prismic@4.1.0, @nuxt/fonts@0.11.0, @nuxtjs/i18n@9.3.1, @nuxt/image@1.9.0, @vueuse/nuxt@13.0.0\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-w8n5eqto?file=pages%2Findex.vue\n\n### Describe the bug\n\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3261,3262],{"name":3251,"color":3252},{"name":3263,"color":3264},"scope: components","B327C3",3402,"Double nested `NuxtLinkLocale`","2025-05-30T19:25:27Z","https://github.com/nuxt-modules/i18n/issues/3402",0.7031092,{"description":3271,"labels":3272,"number":3275,"owner":3178,"repository":3179,"state":3228,"title":3276,"updated_at":3277,"url":3278,"score":3279},"### Environment\n\n- Operating System: Linux\n- Node Version: v22.17.1\n- Nuxt Version: 4.0.1\n- CLI Version: 3.26.4\n- Nitro Version: 2.12.3\n- Package Manager: bun@1.2.19\n- Builder: -\n- User Config: devtools, experimental, typescript, sourcemap, vite, ssr, compatibilityDate, modules, runtimeConfig, css, app, compodium, image, fonts, ogImage, icon, colorMode, ui, seo, sentry, openFetch, oidc, vitalizer, security, i18n, vue, routeRules, $development, $production, $env\n- Runtime Modules: ~/modules/tenancy, ~/modules/lodash, magic-regexp/nuxt@0.10.0, motion-v/nuxt@1.6.0, nuxt-prepare@2.3.2, nuxt-vitalizer@0.10.0, nuxt-open-fetch@0.13.0, nuxt-security@2.3.0, nuxt-authorization@0.3.5, nuxt-oidc-auth@1.0.0-beta.5, @formkit/auto-animate/nuxt@0.8.2, @vueuse/nuxt@13.5.0, @pinia/nuxt@0.11.2, @nuxtjs/i18n@10.0.2, @nuxtjs/seo@3.1.0, @nuxt/test-utils@3.19.2, @nuxt/ui@3.0.2, @nuxt/image@1.10.0, @nuxt/scripts@0.11.10, @nuxt/eslint@1.7.0, @compodium/nuxt@0.1.0-beta.11, @sentry/nuxt/module@9.40.0\n- Build Modules: -\n\n### Reproduction\n\nJust open [the starter](https://stackblitz.com/fork/github/BobbieGoede/nuxt-i18n-starter/tree/v10) and try to edit a key while running the project.\n\n### Describe the bug\n\nWhen I try to edit a key (or add a new one) of any of my locales, I get this error:\n\n```\nUncaught (in promise) TypeError: can't access property \"dev\", (intermediate value)()._nuxtI18nCtx is undefined\n```\n\nThat forces me to refresh the page to update the value.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3273],{"name":3274,"color":3238},"upstream",3758,"Can't access property `dev`, `_nuxtI18nCtx` is undefined","2025-07-24T10:12:37Z","https://github.com/nuxt-modules/i18n/issues/3758",0.7052229,{"description":3281,"labels":3282,"number":3287,"owner":3178,"repository":3179,"state":3228,"title":3288,"updated_at":3289,"url":3290,"score":3291},"### Environment\n\n- Operating System: Windows_NT\n- Node Version: v23.10.0\n- Nuxt Version: 3.17.4\n- CLI Version: 3.25.1\n- Nitro Version: 2.11.12\n- Package Manager: pnpm@8.15.9\n- Builder: -\n- User Config: devtools, modules, i18n, compatibilityDate\n- Runtime Modules: @nuxtjs/i18n@9.5.5\n- Build Modules: -\n\n### Reproduction\n\nhttps://github.com/warflash/nuxt-i18n-rolldown\n\n### Describe the bug\n\nBuilds are failing\n\n### Additional context\n\n[Rolldown vite was just announced as technical preview,](https://voidzero.dev/posts/announcing-rolldown-vite) so I wanted to jump in and test against our project. Dev works well, builds seem to fail, also on the i18n starter with the override applied.\n\nGiven that vite-rolldown aims to be a drop in replacement it might just need time for the vite team to iron out the cause of this bug. Just wanted to raise the issue in case it's some internal tooling in the i18n project that won't be compatible with vite in the future.\n\n### Logs\n\n```shell\n> nuxt build\n\n[nuxi 21:06:47] Nuxt 3.17.4 with Nitro 2.11.12\n\n[@nuxtjs/i18n 21:06:48] WARN bundle.optimizeTranslationDirective is enabled by default, we recommend disabling this feature as it causes issues and will be deprecated in v10.\nExplicitly setting this option to true or false disables this warning, for more details see: https://github.com/nuxt-modules/i18n/issues/3238#issuecomment-2672492536\n\n[nuxi 21:06:48] ℹ Building for Nitro preset: node-server\n[21:06:51] ℹ Building client...\n\n[21:06:51] WARN You have set optimizeDeps.esbuildOptions but this options is now deprecated. Vite now uses Rolldown to optimize the dependencies. Please use optimizeDeps.rollupOptions instead.\n\n[21:06:51] ℹ rolldown-vite v6.3.14 building for production...\n[21:06:52] ℹ ✓ 181 modules transformed.\n\n[21:06:52] ERROR ✗ Build failed in 531ms\n\n\n[nuxi 21:06:52] ERROR Nuxt Build Error: Build failed with 3 errors:\n\n[PARSE_ERROR] Error: Unexpected token\n ╭─[ i18n/locales/en.json:1:1 ]\n │\n 1 │ const resource = {\n │ ──┬── \n │ ╰──── \n───╯\n\n[PARSE_ERROR] Error: Unexpected token\n ╭─[ i18n/locales/nl.json:1:1 ]\n │\n 1 │ const resource = {\n │ ──┬── \n │ ╰──── \n───╯\n\n[PARSE_ERROR] Error: Unexpected token\n ╭─[ i18n/locales/ja.json:1:1 ]\n │\n 1 │ const resource = {\n │ ──┬── \n │ ╰──── \n───╯\n\n\n at normalizeErrors (/project/node_modules/.pnpm/rolldown@1.0.0-beta.10-commit.ac4e5db/node_modules/rolldown/dist/shared/src-r81e2JxS.mjs:2195:18)\n at handleOutputErrors (/project/node_modules/.pnpm/rolldown@1.0.0-beta.10-commit.ac4e5db/node_modules/rolldown/dist/shared/src-r81e2JxS.mjs:3125:34)\n at transformToRollupOutput (/project/node_modules/.pnpm/rolldown@1.0.0-beta.10-commit.ac4e5db/node_modules/rolldown/dist/shared/src-r81e2JxS.mjs:3119:2)\n at RolldownBuild.write (/project/node_modules/.pnpm/rolldown@1.0.0-beta.10-commit.ac4e5db/node_modules/rolldown/dist/shared/src-r81e2JxS.mjs:4269:10)\n at async buildEnvironment (/project/node_modules/.pnpm/rolldown-vite@6.3.14_esbuild@0.25.5_jiti@2.4.2/node_modules/rolldown-vite/dist/node/chunks/dep-C0xpd56d.js:44464:16)\n at async buildClient (/project/node_modules/.pnpm/@nuxt+vite-builder@3.17.4_eslint@9.27.0_rollup@4.41.1_typescript@5.8.3_vue@3.5.16/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.DNPjFC0L.mjs:765:5)\n at async bundle (/project/node_modules/.pnpm/@nuxt+vite-builder@3.17.4_eslint@9.27.0_rollup@4.41.1_typescript@5.8.3_vue@3.5.16/node_modules/@nuxt/vite-builder/dist/shared/vite-builder.DNPjFC0L.mjs:1527:3)\n at async bundle (/project/node_modules/.pnpm/nuxt@3.17.4_eslint@9.27.0_rolldown-vite@6.3.14_rollup@4.41.1_typescript@5.8.3/node_modules/nuxt/dist/shared/nuxt.Ipy8-4AT.mjs:7387:5)\n at async build (/project/node_modules/.pnpm/nuxt@3.17.4_eslint@9.27.0_rolldown-vite@6.3.14_rollup@4.41.1_typescript@5.8.3/node_modules/nuxt/dist/shared/nuxt.Ipy8-4AT.mjs:7247:3)\n at async Object.run (/project/node_modules/.pnpm/@nuxt+cli@3.25.1/node_modules/@nuxt/cli/dist/chunks/build.mjs:74:5)\n```",[3283,3284],{"name":3274,"color":3238},{"name":3285,"color":3286},"workaround","1FD0A3",3659,"Builds with rolldown-vite + nuxt i18n fail","2025-09-09T11:08:33Z","https://github.com/nuxt-modules/i18n/issues/3659",0.70673823,["Reactive",3293],{},["Set"],["ShallowReactive",3296],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ftxrGf49VrEpkbSLWG_GosCbPDwkQk6XfG_2uSMKd9lM":-1},"/nuxt-modules/i18n/2856"]