\n\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3031,3032],{"name":3009,"color":3010},{"name":3033,"color":3034},"need reproduction","CD234A",3271,"[WebStorm] Type error '__VLS_ctx.$t' is of type 'unknown'.","2025-07-04T14:54:08Z","https://github.com/nuxt-modules/i18n/issues/3271",0.7451055,{"description":3041,"labels":3042,"number":3044,"owner":3012,"repository":3013,"state":3045,"title":3046,"updated_at":3047,"url":3048,"score":3049},"### 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. ",[3043],{"name":3009,"color":3010},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":3051,"labels":3052,"number":3054,"owner":3012,"repository":3013,"state":3045,"title":3055,"updated_at":3056,"url":3057,"score":3058},"### 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_",[3053],{"name":3009,"color":3010},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":3060,"labels":3061,"number":3063,"owner":3012,"repository":3013,"state":3045,"title":3064,"updated_at":3065,"url":3066,"score":3067},"### 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_",[3062],{"name":3009,"color":3010},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":3069,"labels":3070,"number":3077,"owner":3012,"repository":3013,"state":3045,"title":3078,"updated_at":3079,"url":3080,"score":3081},"### 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```",[3071,3074],{"name":3072,"color":3073},"scope: ssg","85eac7",{"name":3075,"color":3076},"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":3083,"labels":3084,"number":3094,"owner":3012,"repository":3013,"state":3045,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### 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```",[3085,3088,3091],{"name":3086,"color":3087},"scope: language detection","1B89B8",{"name":3089,"color":3090},"scope: prerender","8B39DF",{"name":3092,"color":3093},"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,{"description":3100,"labels":3101,"number":3103,"owner":3012,"repository":3013,"state":3045,"title":3104,"updated_at":3105,"url":3106,"score":3107},"### Environment\n\n------------------------------\n- Operating System: Linux\n- Node Version: v23.11.1\n- Nuxt Version: 3.17.4\n- CLI Version: 3.25.1\n- Nitro Version: 2.11.12\n- Package Manager: npm@11.4.0\n- Builder: -\n- User Config: compatibilityDate, devtools, modules, i18n, devServer\n- Runtime Modules: @nuxtjs/i18n@9.5.5\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nMinimal repo here https://github.com/ThibaudDauce/test_i18n\n\nThis is my `app.vue`:\n```html\n\u003Ctemplate>\n \u003Cdiv>\n \u003Cp>{{ $t('Hello {name}', { name: 'John' }) }}\u003C/p>\n \u003Cp>{{ $t('The weather today is {condition}!', { condition: 'sunny' }) }}\u003C/p>\n \u003C/div>\n\u003C/template>\n```\n\nWith this `i18n/i18n.config.ts`:\n```ts\nexport default defineI18nConfig(() => {\n return {\n missingWarn: false,\n formatFallbackMessages: true,\n }\n})\n```\n\nAnd this `nuxt.config.ts`:\n```ts\nexport default defineNuxtConfig({\n compatibilityDate: '2025-05-15',\n devtools: { enabled: true },\n modules: ['@nuxtjs/i18n'],\n i18n: {\n defaultLocale: 'fr',\n },\n devServer: {\n port: 8080,\n },\n})\n```\n\n`missingWarn: false` is working so the config seems to be loaded correctly.\n\n### Describe the bug\n\nWhen I set `formatFallbackMessages: true`, the messages are not formatted in the template.\n",[3102],{"name":3009,"color":3010},3670,"Cannot set `formatFallbackMessages`","2025-06-02T13:58:58Z","https://github.com/nuxt-modules/i18n/issues/3670",0.72023857,{"description":3109,"labels":3110,"number":3112,"owner":3012,"repository":3013,"state":3045,"title":3113,"updated_at":3114,"url":3115,"score":3116},"## Updates\n\n- 2024/01/02: Updated reproduction and steps to reproduce at https://github.com/nuxt-modules/i18n/issues/2524#issuecomment-1873823456\n- 2025/05/02: Updated reproduction for v9.5.4: https://github.com/nuxt-modules/i18n/issues/2524#issuecomment-2847024120\n\n## Original post\n\n### Environment\n\nWorking directory: /home/projects/aoniwxvlm.github 13:55:30\nNuxt project info: 13:55:30\n\n------------------------------\n- Operating System: Linux\n- Node Version: v18.18.0\n- Nuxt Version: 3.8.0\n- CLI Version: 3.9.1\n- Nitro Version: 2.7.0\n- Package Manager: npm@9.4.2\n- Builder: -\n- User Config: devtools, modules, i18n\n- Runtime Modules: @nuxtjs/i18n@8.0.0-rc.5\n- Build Modules: -\n------------------------------\n\n### Reproduction\n\nhttps://stackblitz.com/edit/github-fyaxh8\n\n### Describe the bug\n\nThe root redirect takes the `Accept-Language` header into account:\n\n```\ncurl -H \"Accept-Language: fr\" -I http://localhost:3000\n```\n\n```\nHTTP/1.1 302 Found\naccess-control-allow-origin: *\nlocation: /fr\ncontent-type: text/html\ndate: Wed, 25 Oct 2023 11:49:52 GMT\nconnection: close\n```\n\nBut everything else does not:\n\n```\ncurl -H \"Accept-Language: fr\" -I http://localhost:3000/foo\n```\n\n```\nHTTP/1.1 302 Found\naccess-control-allow-origin: *\nlocation: /en/foo\ncontent-type: text/html\ndate: Wed, 25 Oct 2023 11:49:41 GMT\nconnection: close\n```\n\nThis also relates to #2131 because I'm using the `prefix` strategy, which means I should actually get a 404 on the `/foo` request. Therefore, I think fixing #2131 will also fix this issue, but not vice versa.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3111],{"name":3086,"color":3087},2524,"Inconsistent handling of `Accept-Language` header","2025-06-22T23:03:38Z","https://github.com/nuxt-modules/i18n/issues/2524",0.72288454,["Reactive",3118],{},["Set"],["ShallowReactive",3121],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fJSm-9c_796i1Q8WLFnzPXNeQVrQdXw2L3TB9mcvSJPY":-1},"/nuxt-modules/i18n/3624"]