\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```",[3041],{"name":3019,"color":3020},3755,"_ctx.$t is not a function","2025-07-23T13:58:47Z","https://github.com/nuxt-modules/i18n/issues/3755",0.7356782,{"description":3048,"labels":3049,"number":3051,"owner":3022,"repository":3023,"state":3052,"title":3053,"updated_at":3054,"url":3055,"score":3056},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v18.16.0\r\n- Nuxt Version: 3.10.3\r\n- CLI Version: 3.10.1\r\n- Nitro Version: 2.8.1\r\n- Package Manager: pnpm@8.15.1\r\n- Builder: -\r\n- User Config: devtools, modules, ssr, content, i18n\r\n- Runtime Modules: @nuxt/content@2.12.0, @nuxtjs/i18n@8.1.1, nuxt-build-cache@0.1.1\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\nhttps://github.com/kilianseitz/example\r\n\r\n### Describe the bug\r\nWe use nuxt-content with nuxt-i18n\r\n\r\nFor my project, I need to have two content folders for English and German. \r\nWhen I use 'build' or 'dev', the folders are created and the content is rendered correctly , but when I use 'generate', they are not generated and not rendered. ",[3050],{"name":3019,"color":3020},2819,"closed","Content folders not created when generating for static hosting","2025-05-16T12:03:03Z","https://github.com/nuxt-modules/i18n/issues/2819",0.67790794,{"description":3058,"labels":3059,"number":3061,"owner":3022,"repository":3023,"state":3052,"title":3062,"updated_at":3063,"url":3064,"score":3065},"### Environment\n\n------------------------------\r\n- Operating System: Linux\r\n- Node Version: v20.14.0\r\n- Nuxt Version: 3.12.4\r\n- CLI Version: 3.12.0\r\n- Nitro Version: 2.9.7\r\n- Package Manager: yarn@1.22.22\r\n- Builder: -\r\n- User Config: ssr, compatibilityDate, devtools, modules, components, runtimeConfig, site, ogImage, i18n, tailwindcss, sitemap, content, gtag, cookieControl\r\n- Runtime Modules: @nuxtjs/i18n@8.3.3, @nuxtjs/tailwindcss@6.12.1, @nuxtjs/seo@2.0.0-rc.16, @nuxt/content@2.13.2, @nuxthq/studio@2.0.3, nuxt-gtag@2.1.0, @dargmuesli/nuxt-cookie-control@8.4.7\r\n- Build Modules: -\r\n------------------------------\n\n### Reproduction\n\nwww.vinoteqa.com/blog\n\n### Describe the bug\n\nWhen I try to visit a page, other than the root, I get redirected to the localized url but still get a error. As soon as I reload the page, it is displayed correctly. \r\n\r\nTry it at: www.vinoteqa.com/blog\r\n\r\nAm I missing some configuration?\n\n### Additional context\n\n```ts\r\n i18n: {\r\n defaultLocale: 'en',\r\n locales: [{\r\n code: 'en',\r\n iso: 'en',\r\n name: 'English',\r\n file: 'en.json',\r\n },\r\n {\r\n code: 'de',\r\n iso: 'de',\r\n name: 'Deutsch',\r\n file: 'de.json',\r\n },\r\n {\r\n code: 'it', \r\n iso: 'it',\r\n name: 'Italiano',\r\n file: 'it.json',\r\n }],\r\n strategy: 'prefix',\r\n lazy: false,\r\n langDir: 'locales/',\r\n },\r\n ```\r\n \r\n \n\n### Logs\n\n_No response_",[3060],{"name":3019,"color":3020},3062,"404 on all pages other than root with `prefix` strategy","2025-05-21T19:36:56Z","https://github.com/nuxt-modules/i18n/issues/3062",0.7077897,{"description":3067,"labels":3068,"number":3070,"owner":3022,"repository":3023,"state":3052,"title":3071,"updated_at":3072,"url":3073,"score":3074},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v20.15.1`\r\n- Nuxt Version: `3.12.3`\r\n- CLI Version: `3.12.0`\r\n- Nitro Version: `2.9.7`\r\n- Package Manager: `npm@10.7.0`\r\n- Builder: `-`\r\n- User Config: `modules`, `devtools`, `ssr`, `i18n`\r\n- Runtime Modules: `@nuxtjs/i18n@8.3.1`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nhttps://github.com/alexblunck/nuxt-i18n-bug-reproduction\r\n\r\n(I've provided a Fork of the \"Reproduction starter\" since Stackblitz doesn't seem to support redirects)\n\n### Describe the bug\n\nWhen SSR is turned off and `strategy: 'prefix'` is used together with `redirectOn: 'no prefix'` the redirect on initial page loads fails & displays a \"404 Page not found\" error.\r\n\r\nThis only happens for non-index pages. To trigger the error in the Reproduction visit `http://localhost:3000/other`. The URL in the address bar does change to `http://localhost:3000/en/other` but application crashes and displays \"Page not found: /other\" error.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3069],{"name":3019,"color":3020},3030,"Redirect fails with 404 error for non-index pages if SSR is turned off","2025-06-12T20:20:47Z","https://github.com/nuxt-modules/i18n/issues/3030",0.71180385,{"description":3076,"labels":3077,"number":3079,"owner":3022,"repository":3023,"state":3052,"title":3080,"updated_at":3081,"url":3082,"score":3083},"### Environment\n\n------------------------------\n- Operating System: Linux\n- Node Version: v20.19.1\n- Nuxt Version: 4.0.0\n- CLI Version: 3.26.3\n- Nitro Version: 2.12.0\n- Package Manager: pnpm@8.15.6\n- Builder: -\n- User Config: modules, devtools, i18n\n- Runtime Modules: @nuxtjs/i18n@10.0.1\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-zx2czsy7?file=nuxt.config.ts\n\n### Describe the bug\n\nWhen employing the prefix strategy, navigating to a page without a locale prefix (e.g., localhost:3000/test-page instead of localhost:3000/en/test-page) results in an HTTP 404 (Not Found) error. While the client-side URL subsequently updates to include the correct prefix, the server fails to issue a redirect.\n\nThe server should respond with a redirect to the prefixed URL, similar to how it handles redirects for the root path.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3078],{"name":3019,"color":3020},3741,"Redirect to fallback local missing paths other then the root path","2025-07-21T08:40:29Z","https://github.com/nuxt-modules/i18n/issues/3741",0.7131899,{"description":3085,"labels":3086,"number":3088,"owner":3022,"repository":3023,"state":3052,"title":3089,"updated_at":3090,"url":3091,"score":3092},"### Environment\n\n**Module version:** \n`@nuxtjs/i18n` version: `^9.4.0`\n\n**Nuxt version:** \n`Nuxt 3.16.2`\n\n### ❗ Problem\n\nAfter building CI/CD pipeline of project, the generated `nuxt.i18n.options.mjs` includes **absolute paths** to the locale files, for example:\n\n```js\n{\n path: \"/home/gitlab-runner/builds/QEWN8sP-g/0/client/i18n/locales/ru/errors.json\",\n cache: undefined\n}\n```\n\n### Reproduction\n\nConfigure @nuxtjs/i18n in nuxt.config.ts:\n\n```\ni18n: {\n locales: [\n { code: 'ru', file: 'ru/errors.json' },\n { code: 'ro', file: 'ro/errors.json' },\n ],\n langDir: 'i18n/locales/',\n defaultLocale: 'ru',\n}\n```\n\nRun nuxt build\n\nInspect the contents of .output/public/_nuxt/ or nuxt.i18n.options.mjs\n\nNotice absolute paths included in the files array\n\n💡 Workarounds tried\n\n✅ fullInstall: false → no effect\n\n✅ Using relative langDir and file values → still resolves to absolute paths\n\n✅ Changing build environment → problem persists\n\n### Describe the bug\n\nPlease avoid emitting absolute file paths into the build output. Relative or virtualized paths would ensure cleaner builds, better security, and fewer environment-specific artifacts.\n\nLet me know if you need a minimal reproduction repo or additional logs.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3087],{"name":3019,"color":3020},3742,"Absolute file paths included in production bundle","2025-07-21T08:55:25Z","https://github.com/nuxt-modules/i18n/issues/3742",0.71519935,{"description":3094,"labels":3095,"number":3102,"owner":3022,"repository":3023,"state":3052,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### Environment\n\n- Nuxt version: 3.17.4\n- @nuxtjs/i18n version: 10.0.0-beta-7\n- Deployment target: Static site (nuxi generate)\n- Works fine in SSR build (nuxi build)\n- Node version: 22\n\n### Reproduction\n\nhttps://codesandbox.io/p/devbox/prod-https-6gz2f5\n\n- run `pnpm generate` command and check output folder. there is no i18n folder. \n- run `pnpm start` to run generate build. open browser console. you'll see `Failed to load messages for locale en FetchError: [GET] \"/_i18n/en/messages.json\":`\n\n### Describe the bug\n\nWhen generating a static site using `nuxi generate`, I get the following error in the console when loading the site:\n```\nFailed to load messages for locale en FetchError: [GET] \"/_i18n/en/messages.json\": 404 Not Found\n```\n\nThe same Nuxt app works fine with nuxtjs/i18n v9\n\nSetting `ssr: true` works fine for both build & generate \n\n### Additional context\n\nHere’s part of my nuxt.config.ts:\n```\n{\n defaultLocale: 'en',\n debug: import.meta.env.DEV,\n locales: [\n {\n code: 'en',\n language: 'en-US',\n file: 'en.json',\n name: 'English',\n },\n {\n code: 'es',\n file: 'es.json',\n name: 'Spanish',\n },\n {\n code: 'tl',\n file: 'tl.json',\n name: 'Tagalog (Filipino)',\n },\n ],\n strategy: 'no_prefix',\n detectBrowserLanguage: {\n useCookie: true,\n cookieKey: 'dmc.locale',\n redirectOn: 'root',\n },\n}\n```\n\n### Logs\n\n```shell\nTkPgtAp_.js:9 Failed to load messages for locale en FetchError: [GET] \"/_i18n/en/messages.json\": 404 Not Found\n at async s (N_fP37pm.js:19:23784)\n at async Object.loadLocaleMessages (N_fP37pm.js:53:9792)\n at async B1 (N_fP37pm.js:53:11552)\n at async setup (N_fP37pm.js:67:48664)\n at async t$ (N_fP37pm.js:19:30748)\n at async i (N_fP37pm.js:19:31273)\n at async N_fP37pm.js:19:31213\n at async Promise.all (:8080/index 5)\n at async N_fP37pm.js:19:31122\n at async i (N_fP37pm.js:19:31273)\n at async n$ (N_fP37pm.js:19:31324)\n at async Qk (N_fP37pm.js:1100:1993)\n```",[3096,3099],{"name":3097,"color":3098},"scope: ssg","85eac7",{"name":3100,"color":3101},"scope: ssr","0052cc",3645,"Failed to load messages for locale only in static site generated with nuxi generate (404 on /_i18n/en/messages.json)","2025-05-26T18:06:23Z","https://github.com/nuxt-modules/i18n/issues/3645",0.71668535,{"description":3108,"labels":3109,"number":3119,"owner":3022,"repository":3023,"state":3052,"title":3120,"updated_at":3121,"url":3122,"score":3123},"### Environment\n\n- Operating System: Linux\n- Node Version: v22.11.0\n- Nuxt Version: 3.14.1592\n- CLI Version: 3.15.0\n- Nitro Version: 2.10.4\n- Package Manager: pnpm@9.13.1\n- Builder: -\n- User Config: default\n- Runtime Modules: @nuxtjs/i18n@9.1.0\n- Build Modules: -\n\n### Reproduction\n\nrepo: https://github.com/stefanprobst/issue-nuxt-i18n\n\n- clone repo\n- run `pnpm install`\n- run `pnpm build`\n- run `pnpm start`\n- run `curl http://localhost:3000 -H \"accept-language: de\" -i`\n\nresponse is:\n\n```\nHTTP/1.1 200 OK\nContent-Type: text/html; charset=utf-8\nETag: \"59-nAI7AXwKU+EgdRxYLxAT3Q7a2bE\"\nLast-Modified: Wed, 20 Nov 2024 19:51:43 GMT\nContent-Length: 89\nDate: Wed, 20 Nov 2024 19:51:53 GMT\nConnection: keep-alive\nKeep-Alive: timeout=5\n\n\u003C!DOCTYPE html>\u003Chtml>\u003Chead>\u003Cmeta http-equiv=\"refresh\" content=\"0; url=/en\">\u003C/head>\u003C/html>\n```\n\n---\n\nwith `@nuxtjs/i18n` version 9.0.0-rc-2 the response is (you can check out the \"rc2\" branch in the above repository):\n\n```\nHTTP/1.1 302 Found\nset-cookie: i18n_redirected=de; Path=/; Expires=Thu, 20 Nov 2025 19:53:45 GMT; SameSite=Lax\nlocation: /de\ncontent-type: text/html\nDate: Wed, 20 Nov 2024 19:53:45 GMT\nConnection: keep-alive\nKeep-Alive: timeout=5\nContent-Length: 89\n\n\u003C!DOCTYPE html>\u003Chtml>\u003Chead>\u003Cmeta http-equiv=\"refresh\" content=\"0; url=/de\">\u003C/head>\u003C/html>\n```\n\n### Describe the bug\n\nwhile version 9.0.0-rc.2 correctly redirects `/` to `/de` when the `accept-language` header is set to `de`, with version 9.0.0 and 9.1.0 i am redirected to `/en` (which is the default locale)\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3110,3113,3116],{"name":3111,"color":3112},"scope: language detection","1B89B8",{"name":3114,"color":3115},"scope: prerender","8B39DF",{"name":3117,"color":3118},"possible regression","B78041",3240,"[regression] incorrect root redirect on prerendered page (was working fine with v9.0.0-rc.2)","2025-06-22T23:03:37Z","https://github.com/nuxt-modules/i18n/issues/3240",0.72011864,["Reactive",3125],{},["Set"],["ShallowReactive",3128],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJSm-9c_796i1Q8WLFnzPXNeQVrQdXw2L3TB9mcvSJPY":-1},"/nuxt-modules/i18n/3624"]