\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3191],{"name":3175,"color":3176},3820,"ERROR Cannot restart nuxt: ERROR ENOENT: no such file or directory, open 'C:\\Users\\xxx\\Desktop\\puppy\\i18n\\locales\\en-US.ts'","2025-09-15T05:58:50Z","https://github.com/nuxt-modules/i18n/issues/3820",0.72984314,{"description":3198,"labels":3199,"number":3201,"owner":3181,"repository":3182,"state":3183,"title":3202,"updated_at":3203,"url":3204,"score":3205},"### Environment\n\n------------------------------\n- Operating System: Windows_NT\n- Node Version: v22.12.0\n- Nuxt Version: 4.0.1\n- CLI Version: 3.26.4\n- Nitro Version: 2.12.4\n- Package Manager: npm@11.1.0\n- Builder: -\n- User Config: modules, imports, devtools, app, css, router, site, colorMode, runtimeConfig, generate, dev, compatibilityDate, nitro, debug, eslint, i18n, ogImage, robots, security, vuefire\n- Runtime Modules: @nuxt/ui@3.2.0, @nuxt/eslint@1.7.0, @nuxtjs/seo@3.1.0, @nuxtjs/i18n@10.0.2, nuxt-security@2.3.0, nuxt-vuefire@1.1.0\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nThe problem starts to appear after updating to nuxt-i18n v10 module\n\nWhat we can do to replicate:\nhttps://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-dwb5kaqj?file=nuxt.config.ts\n\n### Describe the bug\n\nAfter updating i19n from version 9.5.6 to 10.0.2 I receive the following error on startup\n\n```\n[16:02:12] ERROR [request error] [unhandled] [GET] http://localhost:3000/__nuxt_error?error=true&url=%2Fdashboard&statusCode=500&statusMessage=Internal+Server+Error&message=(0%2C+__vite_ssr_import_0__.getApps)+is+not+a+function&stack=(0%2C+__vite_ssr_import_0__.getApps)+is+not+a+function%0Aat+ensureAdminApp+(/project/node_modules/vuefire/dist/server/index.mjs:42:17)%0Aat+/project/node_modules/nuxt-vuefire/dist/runtime/admin/plugin.server.js:13:62)%0Aat+/project/node_modules/nuxt/dist/app/nuxt.js:142:40)%0Aat+fn+(/project/node_modules/nuxt/dist/app/nuxt.js:220:36)%0Aat+Object.callAsync+(/project/node_modules/unctx/dist/index.mjs:72:47)%0Aat+/project/node_modules/nuxt/dist/app/nuxt.js:225:52)%0Aat+Object.runWithContext+(/project/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4020:18)%0Aat+callWithNuxt+(/project/node_modules/nuxt/dist/app/nuxt.js:225:24)%0Aat+/project/node_modules/nuxt/dist/app/nuxt.js:61:41)%0Aat+EffectScope.run+(/project/node_modules/@vue/reactivity/dist/reactivity.cjs.js:97:16)\n\nℹ Error: _ctx.$t is not a function\n\n ⁃ at _sfc_ssrRender (/project/components/Navigation.vue:175:15)\n\n 171 ┃ \u003CUButton\n 172 ┃ variant=\"ghost\"\n 173 ┃ :aria-label=\"item.label\"\n 174 ┃ >\n ❯ 175 ┃ \u003CUIcon :name=\"item.icon\" />\n 176 ┃ {{ item.label }}\n 177 ┃ \u003C/UButton>\n\n ⁃ at renderComponentSubTree (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:737:9) \n ⁃ at renderComponentVNode (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:686:12) \n ⁃ at ssrRenderComponent (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:100:10) \n ⁃ at _sfc_ssrRender (/project/layouts/default.vue:28:41) \n ⁃ at renderComponentSubTree (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:737:9) \n ⁃ at renderVNode (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:801:14) \n ⁃ at callWithNuxt (/project/node_modules/nuxt/dist/app/nuxt.js:225:24)\n\n[CAUSE]\nTypeError {\n message: '_ctx.$t is not a function',\n stack: '_ctx.$t is not a function\\n' +\n 'at _sfc_ssrRender (/project/components/Navigation.vue:175:15)\\n' +\n 'at renderComponentSubTree (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:737:9)\\n' +\n 'at renderComponentVNode (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:686:12)\\n' +\n 'at ssrRenderComponent (/project/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:100:10)\\n' +\n 'at _sfc_ssrRender (/project/layouts/default.vue:28:41)\\n' +\n '...'\n}\n```\n\n\nHence I can't start the whole application.\n\nI tried to reproduce it in the stackblitz, but all works fine there. Maybe it has something to do with my envirnoment as I deleted all .nuxt files and also removed all node modules/reinstalled them\n\n\n### Additional context\n\n\nAlso I have a previous error which then causes the application to crash:\n```\n WARN [Vue warn]: Property \"$t\" was accessed during render but is not defined on instance. 14:28:44 \n at \u003CHeaderBar>\n at \u003CDefault ref=Ref\u003C undefined > >\n at \u003CAsyncComponentWrapper ref=Ref\u003C undefined > >\n at \u003CLayoutLoader key=\"default\" layoutProps={\n ref: RefImpl {\n dep: Dep {\n computed: undefined,\n version: 0,\n activeLink: undefined,\n subs: undefined,\n map: undefined,\n key: undefined,\n sc: 0,\n __v_skip: true,\n subsHead: undefined\n },\n __v_isRef: true,\n __v_isShallow: true,\n _rawValue: undefined,\n _value: undefined\n }\n } name=\"default\" >\n at \u003CNuxtLayoutProvider layoutProps={\n ref: RefImpl {\n dep: Dep {\n computed: undefined,\n version: 0,\n activeLink: undefined,\n subs: undefined,\n map: undefined,\n key: undefined,\n sc: 0,\n __v_skip: true,\n subsHead: undefined\n },\n __v_isRef: true,\n __v_isShallow: true,\n _rawValue: undefined,\n _value: undefined\n }\n } key=\"default\" name=\"default\" ... >\n at \u003CNuxtLayout>\n at \u003CError error=(0 , __vite_ssr_import_0__.getApps) is not a function\n\n at ensureAdminApp (/app/node_modules/vuefire/dist/server/index.mjs:36:41)\n at /app/node_modules/nuxt-vuefire/dist/runtime/admin/plugin.server.js:12:68\n at /app/node_modules/nuxt/dist/app/nuxt.js:156:60\n at fn (/app/node_modules/nuxt/dist/app/nuxt.js:233:44)\n at Object.callAsync (/app/node_modules/unctx/dist/index.mjs:68:55)\n at /app/node_modules/nuxt/dist/app/nuxt.js:236:56\n at Object.runWithContext (/app/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4002:18)\n at callWithNuxt (/app/node_modules/nuxt/dist/app/nuxt.js:236:24)\n at /app/node_modules/nuxt/dist/app/nuxt.js:55:41\n at EffectScope.run (/app/node_modules/@vue/reactivity/dist/reactivity.cjs.js:85:16) >\n at \u003CNuxtRoot>\n\n[nuxt-app] vue:error: 9.872ms 14:28:44 \n[nuxt-app] app:error: 0.022ms 14:28:44 \n[nitro-runtime] error: 0.571ms\n```\n\nWhen I remove nuxt-vuefire. It works again, no error on startup.\n\nWhen I downgrade to 9.5.6 for the i18n module, it works too even with nuxt-vuefire and even with it throwing an error directly\n\n### Logs\n\n```shell\n\n```",[3200],{"name":3175,"color":3176},3755,"_ctx.$t is not a function","2025-07-23T13:58:47Z","https://github.com/nuxt-modules/i18n/issues/3755",0.73353255,{"description":3207,"labels":3208,"number":3210,"owner":3181,"repository":3182,"state":3183,"title":3211,"updated_at":3212,"url":3213,"score":3214},"### Environment\n\n------------------------------\n- Operating System: Windows_NT\n- Node Version: v22.17.0\n- Nuxt Version: 4.1.2\n- CLI Version: 3.28.0\n- Nitro Version: 2.12.5\n- Package Manager: pnpm@10.17.0\n- Builder: -\n- User Config: sourcemap, hub, app, imports, compatibilityDate, devtools, modules, i18n, eslint, primevue\n- Runtime Modules: @nuxt/eslint@1.9.0, @vueuse/nuxt@13.9.0, @unocss/nuxt@66.5.1, @primevue/nuxt-module@4.3.9, @nuxtjs/i18n@10.0.6, @nuxthub/core@0.9.0\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://github.com/s3xysteak/repro-nuxt-i18n\n\n### Describe the bug\n\nWhen using custom messages (plz check `nuxt.config.ts`.i18n and `i18n/i18n.config.ts`), it looks good on dev, but throw error on prod.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\nFailed to load messages for locale \"en\" FetchError: [GET] \"/_i18n/KWmwzEHP/en/messages.json\": 500 Server Error\n```",[3209],{"name":3175,"color":3176},3830,"Using custom messages reports error `Failed to load messages .... _i18n/x/xx/messages.json\": 500 Server Error` on prod but no error on dev","2025-09-26T15:52:35Z","https://github.com/nuxt-modules/i18n/issues/3830",0.736453,{"description":3216,"labels":3217,"number":3222,"owner":3181,"repository":3182,"state":3223,"title":3224,"updated_at":3225,"url":3226,"score":3227},"### Environment\n\n- Operating System: `Darwin`\n- Node Version: `v22.14.0`\n- Nuxt Version: `4.0.1`\n- CLI Version: `3.26.4`\n- Nitro Version: `2.12.4`\n- Package Manager: `pnpm@10.12.4`\n- Builder: `-`\n- User Config: `compatibilityDate`, `devtools`, `modules`, `i18n`\n- Runtime Modules: `@nuxt/scripts@0.11.10`, `@nuxt/test-utils@3.19.2`, `@nuxtjs/i18n@10.0.2`\n- Build Modules: `-`\n\n\n### Reproduction\n\n修改多语言热更新报错,\n\n\u003Cimg width=\"3318\" height=\"334\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ba25f21a-3216-4066-9e49-269efad06425\" />\n\n\u003Cimg width=\"1436\" height=\"474\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/378d9d5d-c5ae-48e5-a3b5-da94d168e206\" />\n\n### Describe the bug\n\n修改多语言热更新报错,\n\n\u003Cimg width=\"3318\" height=\"334\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/ba25f21a-3216-4066-9e49-269efad06425\" />\n\n\u003Cimg width=\"1436\" height=\"474\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/378d9d5d-c5ae-48e5-a3b5-da94d168e206\" />\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3218,3221],{"name":3219,"color":3220},"upstream","fbca04",{"name":3178,"color":3179},3753,"closed","在 nuxt4.0.2 里使用 \"@nuxtjs/i18n\": \"^10.0.2\" 热更新报错","2025-07-24T09:13:52Z","https://github.com/nuxt-modules/i18n/issues/3753",0.6515215,{"description":3229,"labels":3230,"number":3232,"owner":3181,"repository":3182,"state":3223,"title":3233,"updated_at":3234,"url":3235,"score":3236},"### Environment\n\n- Operating System: Darwin\n- Node Version: v22.11.0\n- Nuxt Version: 3.16.2\n- CLI Version: 3.25.0\n- Nitro Version: 2.11.9\n- Package Manager: pnpm@9.12.3\n- Builder: -\n- User Config: compatibilityDate, devtools, nitro, modules, i18n\n- Runtime Modules: @nuxtjs/i18n@9.5.6, nitro-cloudflare-dev@0.2.2\n- Build Modules: -\n\n\n### Reproduction\n\nhttps://github.com/dongnaebi/nuxt-cf\n\n### Describe the bug\n\nReproduction steps:\n\n1. Run `npm run dev`, then open localhost:3000. The rendering result is as shown (Node.js):\n\n\u003Cimg width=\"370\" height=\"194\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/d336d845-027c-40a0-aaa6-3d9ab186571d\" />\n\nThis is the expected result.\n\n2. Run `npm run preview`, then open localhost:8787. The rendering result is as shown (Cloudflare Worker):\n\n\u003Cimg width=\"414\" height=\"180\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/81b0cff5-8f94-4d1c-85a0-c75355e0ec0e\" />\n\nThis is the incorrect result.\n\nI tried downgrading to version 9.4.0, but it didn't resolve the issue either.\n\n\nBy the way, this bug (https://github.com/nuxt-modules/i18n/issues/3581) has not yet been fixed, as seen in the images above.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3231],{"name":3175,"color":3176},3725,"Nested message not working in Cloudflare Worker environment","2025-07-22T21:31:01Z","https://github.com/nuxt-modules/i18n/issues/3725",0.6876794,{"description":3238,"labels":3239,"number":3243,"owner":3181,"repository":3182,"state":3223,"title":3244,"updated_at":3245,"url":3246,"score":3247},"### Environment\n\nNuxt 4\ni18n v10.0.0-rc.3\n\n### Reproduction\n\nStarting the dev server in a project using `@nuxtjs/i18n v10.0.0-rc3` gives:\n\n\u003Cimg width=\"764\" height=\"130\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/33cd1ad9-b448-4b6e-aee1-a3f77626b3db\" />\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```",[3240],{"name":3241,"color":3242},"🍰 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.68850935,{"description":3249,"labels":3250,"number":3257,"owner":3181,"repository":3182,"state":3223,"title":3258,"updated_at":3259,"url":3260,"score":3261},"### Environment\n\n- Operating System: Darwin\n- Chrome: 126.0.6478.127\n- Safari: 17.5\n\n### Reproduction\n\nAccess https://i18n.nuxtjs.org/docs/guide/ in your browser.\n\n### Describe the bug\n\nAfter briefly displaying the normal content, a 404 page is shown.\n\n\u003Cimg width=\"1512\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/5a50e5a1-30d8-4436-8086-7ae7a135a66b\" />\n\n### Additional context\n\nThis URL appears when searching for \"nuxt3 i18n strategy\" on Google.\n\n\u003Cimg width=\"896\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/bbcfccb5-38ee-4577-9af4-bbdb9d79000c\" />\n\nRemoving the trailing slash displays the page correctly.\n\n\n### Logs\n\n```shell\n\n```",[3251,3254],{"name":3252,"color":3253},"bug 🐛","ee0701",{"name":3255,"color":3256},"docs","33aa3f",3602,"docs: An error occurs when accessing a documentation page using a URL with a trailing slash.","2025-05-15T18:55:47Z","https://github.com/nuxt-modules/i18n/issues/3602",0.708674,{"description":3263,"labels":3264,"number":3266,"owner":3181,"repository":3182,"state":3223,"title":3267,"updated_at":3268,"url":3269,"score":3270},"### Environment\n\n- Operating System: Linux\n- Node Version: v22.14.0\n- Nuxt Version: 3.18.0\n- CLI Version: 3.28.0\n- Nitro Version: 2.12.5\n- Package Manager: npm@10.9.2\n- Builder: -\n- User Config: compatibilityDate, devtools, modules, i18n, vite\n- Runtime Modules: @nuxt/eslint@1.0.1, @nuxtjs/i18n@10.0.6, @nuxt/image@1.9.0\n- Build Modules: -\n------------------------------\n\n\n### Reproduction\n\n**i18n config**\n```\nconst UA_LOCALE = 'ua';\nconst EN_LOCALE = 'en';\n\nexport const LOCALES = [\n {\n code: EN_LOCALE,\n iso: 'en',\n file: 'en.js',\n hreflang: EN_LOCALE,\n title: 'English',\n },\n {\n code: UA_LOCALE,\n iso: 'uk',\n file: 'ua.js',\n hreflang: 'uk',\n title: 'Українська',\n },\n];\n\nexport default {\n locales: LOCALES,\n defaultLocale: EN_LOCALE,\n strategy: 'prefix_except_default',\n fallbackLocale: EN_LOCALE,\n detectBrowserLanguage: true,\n langDir: './locales',\n restructureDir: '',\n};\n\n```\n\nnuxt.config.js\n```\nimport { defineNuxtConfig } from \"nuxt/config\"\nimport i18nConfig from './config/i18n.config';\n\nexport default defineNuxtConfig({\n compatibilityDate: '2024-11-01',\n devtools: { enabled: true },\n modules: ['@nuxt/eslint', '@nuxtjs/i18n', '@nuxt/image'],\n i18n: i18nConfig,\n vite: {\n css: {\n preprocessorOptions: {\n scss: {\n additionalData: '@use \"~/assets/scss/_variables.scss\" as *;'\n }\n }\n }\n },\n})\n\n```\n**Project is SSR not SSG**\n\n### Describe the bug\n\nOn direct app access i18n request twice for message.json.\n\n\u003Cimg width=\"918\" height=\"241\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e1267897-7583-47ee-8d94-3286f5f875cc\" />\n\n It calls twice `loadMessages` first time from init, and second after \"locale-changing\" middleware.\n\n\u003Cimg width=\"1591\" height=\"419\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/956c305d-57e9-4a71-a3b6-5e2231a460df\" />\n\nLog from middleware handler\n\n\u003Cimg width=\"1080\" height=\"934\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/228c3154-f653-4190-b9a4-7ce6c197b00d\" />\n\nI faced this problem on big project, i thought maybe i have problems in router or something else, but used it tiny one to be sure\nTried to add and remove lazy: true, detectBrowserLanguage: false also tried.\n\n**Project structure, no custom routing**\n\u003Cimg width=\"1137\" height=\"991\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/9b9385cd-713e-4801-af61-6f8be38c73f1\" />\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3265],{"name":3175,"color":3176},3813,"Duplicate request on client for messages","2025-09-11T15:30:00Z","https://github.com/nuxt-modules/i18n/issues/3813",0.70912504,{"description":3272,"labels":3273,"number":3279,"owner":3181,"repository":3182,"state":3223,"title":3280,"updated_at":3281,"url":3282,"score":3283},"### Describe the feature\n\nI just don't get why...\n\n\u003Cimg width=\"1280\" height=\"598\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f68d4571-9a47-4f45-8865-6c5d0238d924\" />\n\n\u003Cimg width=\"1905\" height=\"881\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/01e98f50-1f5f-4867-9622-70e90f7e7e93\" />\n\n### Additional information\n\n- [ ] Would you be willing to help implement this feature?\n- [ ] Could this feature be implemented as a module?\n\n### Final checks\n\n- [x] Read the [contribution guide](https://nuxt.com/docs/community/contribution) (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).\n- [x] Check existing [discussions](https://github.com/nuxt-modules/i18n/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[3274,3277],{"name":3275,"color":3276},"good first issue","7057ff",{"name":3278,"color":3256},"need documentation",3776,"Missing documentation in the code, yet present on the website","2025-09-04T10:00:37Z","https://github.com/nuxt-modules/i18n/issues/3776",0.71586967,["Reactive",3285],{},["Set"],["ShallowReactive",3288],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fa0WY7z7ZDkRdKTvo7oMX1mY7KS3bokD8KvjZrD-qPK0":-1},"/nuxt-modules/i18n/3821"]