\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```",[3032],{"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.76059693,{"description":3039,"labels":3040,"number":3042,"owner":3022,"repository":3023,"state":3024,"title":3043,"updated_at":3044,"url":3045,"score":3046},"### Environment\n\n Operating System: Darwin\n- Node Version: v22.15.1\n- Nuxt Version: 4.0.1\n- CLI Version: 3.26.4\n- Nitro Version: 2.12.4\n- Package Manager: pnpm@10.11.0\n- Builder: -\n- User Config: runtimeConfig, devtools, modules, app, css, i18n, image, telemetry, sentry, storyblok, devServer, sourcemap, vite, extends, compatibilityDate\n- Runtime Modules: @nuxtjs/i18n@9.5.6, @pinia/nuxt@0.11.2, @nuxt/image@1.10.0, @nuxt/eslint@1.7.0, @nuxtjs/stylelint-module@5.2.1, @storyblok/nuxt@8.0.1, @sentry/nuxt/module@9.40.0\n\n\n### Reproduction\n\nadd en-GB.json \n```\n{\n \"header\": {\n \"apply-as-developer\": \"Apply as a developer\",\n \"find-developer\": \"FIND A DEVELOPER\",\n \"sign-in\": \"LOG IN\"\n }\n}\n```\n\nadd empty sv-SE.json - `{}`\n\nnuxt configs\n\n```\n i18n: {\n baseUrl: process.env.BASE_URL,\n strategy: 'prefix_and_default',\n defaultLocale: 'en',\n detectBrowserLanguage: false,\n compilation: {\n strictMessage: false,\n escapeHtml: false,\n },\n vueI18n: '../i18n/i18n.config.ts',\n locales: [\n {\n code: 'en',\n language: 'en-GB',\n name: 'English',\n file: 'en-GB.json',\n isCatchallLocale: true,\n },\n {\n code: 'sv',\n language: 'sv-SE',\n name: 'Svenska',\n file: 'sv-SE.json',\n },\n ]\n}\n```\n\ni18n.config.ts\n```\nexport default defineI18nConfig(() => ({\n locale: 'en',\n fallbackLocale: 'en',\n fallbackRoot: true,\n fallbackRootWithEmptyString: true,\n}));\n```\n\n\n\n\n### Describe the bug\n\nOn my new nuxt v4 project the fallbacks didn't work and I was getting the following errors\n```\nHeader.vue:43 [intlify] Not found 'header.find-developer' key in 'sv' locale messages.\nHeader.vue:43 [intlify] Fall back to translate 'header.find-developer' key with 'en' locale. \nHeader.vue:43 [intlify] Not found 'header.find-developer' key in 'en' locale\n```\nalthough I had translations on english.\n\nI changed package version to to - \"@nuxtjs/i18n\": \"^9.5.4\" and it is working like a charm again.\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3041],{"name":3019,"color":3020},3760,"Fallback language does not work on v10.0.2","2025-07-24T14:43:30Z","https://github.com/nuxt-modules/i18n/issues/3760",0.77022254,{"description":3048,"labels":3049,"number":3051,"owner":3022,"repository":3023,"state":3052,"title":3053,"updated_at":3054,"url":3055,"score":3056},"### Describe the feature\n\nPlease update oxc-parser to [`0.70.0`](https://github.com/oxc-project/oxc/pull/11061)\n\nthis includes support for arm musl\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).",[3050],{"name":3019,"color":3020},3605,"closed","update oxc-parser","2025-05-16T09:07:34Z","https://github.com/nuxt-modules/i18n/issues/3605",0.6975764,{"description":3058,"labels":3059,"number":3063,"owner":3022,"repository":3023,"state":3052,"title":3064,"updated_at":3065,"url":3066,"score":3067},"### Environment\r\n\r\n------------------------------\r\n- Operating System: Windows_NT\r\n- Node Version: v21.6.2\r\n- Nuxt Version: 3.11.0\r\n- CLI Version: 3.10.1\r\n- Nitro Version: 2.9.4\r\n- Package Manager: npm@10.2.4\r\n- Builder: -\r\n- User Config: modules, devtools\r\n- Runtime Modules: @nuxtjs/i18n@8.2.0\r\n- Build Modules: -\r\n------------------------------\r\n\r\n### Reproduction\r\n\r\nhttps://github.com/frasza/i18n-warn\r\n\r\nSpin up dev server, open dev tools and click on NuxtLink. Warning appears.\r\n\r\n### Describe the bug\r\n\r\nRecently I noticed warning popup in my Nuxt project and I have tried to set up fresh Nuxt project with i18n dependacy and I still get warning when for navigating across pages.\r\n\r\nWarning:\r\n```\r\n[Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.\r\n```\r\n\r\nNoticed that I get warning the moment I add i18n to the modules.\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Logs\r\n\r\n_No response_",[3060],{"name":3061,"color":3062},"🍰 p2-nice-to-have","0e8a16",2856,"Warning: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.","2025-05-23T11:11:02Z","https://github.com/nuxt-modules/i18n/issues/2856",0.7418232,{"description":3069,"labels":3070,"number":3074,"owner":3022,"repository":3023,"state":3052,"title":3075,"updated_at":3076,"url":3077,"score":3078},"### Environment\n\nOperating System: Linux\nNode Version: v22.11.0\n\"dependencies\": {\n \"@element-plus/icons-vue\": \"^2.3.1\",\n \"@nuxtjs/i18n\": \"^9.5.3\",\n \"@pinia/nuxt\": \"^0.10.1\",\n \"nuxt\": \"^3.16.2\",\n \"pinia\": \"^3.0.1\",\n \"vue\": \"^3.5.13\",\n \"vue-router\": \"^4.5.0\"\n },\n \"devDependencies\": {\n \"@antfu/eslint-config\": \"^4.11.0\",\n \"@element-plus/nuxt\": \"^1.1.1\",\n \"element-plus\": \"^2.9.7\",\n \"eslint\": \"^9.24.0\",\n \"sass\": \"^1.86.3\",\n \"sass-embedded\": \"^1.86.3\",\n \"typescript\": \"^5.8.3\"\n }\n\n### Reproduction\n\n低版本没有这个问题,打印值,服务端一次,客户端一次\n\n\n此次版本:\n\"nuxt\": \"^3.16.2\",\n\"@nuxtjs/i18n\": \"^9.5.3\",\n\n\n目录结构:根目录下 i18n -> locales -> locale.ts\nnuxt.config.ts文件\n\nmodules: [\n '@element-plus/nuxt',\n '@nuxtjs/i18n',\n ],\n i18n: {\n /* 较新版本的 @nuxtjs/i18n 模块中出现警告, 特别是与nuxt3.16.x一起使用 \n * bundle.optimizeTranslationDirective is enabled by default, we recommend disabling this feature as it causes issues and will be deprecated in v10.\n * bundle.optimizeTranslationDirective 功能在未来的 v10 版本中将被弃用,并且开发团队建议禁用它,因为它可能导致问题。\n * 明确设置此选项后,警告会消失,并且应用程序将更好地适应未来的 i18n 模块更新。\n * 如添加之后,警告未消失 1. 比对版本是否兼容 2. 缓存问题,nuxt使用了旧的缓存配置 npx nuxi cleanup\n */\n bundle: {\n optimizeTranslationDirective: false // 明确禁用此功能\n },\n // Module Options\n strategy: 'no_prefix', // 不为路由添加区域前缀\n defaultLocale: 'en', // 默认语种\n detectBrowserLanguage: false, // 禁用浏览器语言检测功能\n lazy: true,\n locales: [\n {\n code: 'en',\n file: 'locale.ts',\n },\n ],\n compilation: {\n strictMessage: false, // 允许message中包含html\n },\n },\n\n### Describe the bug\n\nexport default defineI18nLocale(async (locale) => {\n console.log(locale)\n})\n打印出来,打印了4次,服务端2次,客户端2次\n \n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell\n\n```",[3071],{"name":3072,"color":3073},"scope: dynamic resources","38FB12",3538,"defineI18nLocale Repeated call problem, Server twice, client twice","2025-06-29T18:38:45Z","https://github.com/nuxt-modules/i18n/issues/3538",0.7468487,{"description":3080,"labels":3081,"number":3082,"owner":3022,"repository":3023,"state":3052,"title":3083,"updated_at":3084,"url":3085,"score":3086},"With [vue-i18n v10 soon entering its maintenance/hotfix-only status](https://vue-i18n.intlify.dev/guide/maintenance.html), and vue-i18n v12 entering alpha, we have some catching up to do.\n\nUpdating vue-i18n to its next major means breaking changes, albeit small ones in vue-i18n v11. We will take this as an opportunity to make some breaking changes in the form of cleanup and reorganization of config options.\n\nFeel free to suggest any changes and please let me know if some change needs reconsidering.\n\n- [x] Drop CJS, go ESM only\n- [x] Raise minimum Node version to v20\n- [x] Split up v9 (and earlier) documentation, see if we can move it to v9.i18n.nuxtjs.org\n- [ ] ~~Move `typescript` to `devDependencies` - this should cause no issues after updating `@intlify/unplugin-vue-i18n` but needs to be tested.~~ requires release, may not be possible since next release will be vue-i18n v12 compatible\n- [x] Update to Vue I18n v11 (see [breaking changes](https://vue-i18n.intlify.dev/guide/migration/breaking11.html))\n - [x] #3526 \n\u003C!-- - [ ] Stop support for path arguments for localized path resolution (e.g. `localePath('/')`, `localePath('/path?query=123')`) -->\n\u003C!-- - [ ] Warn if unsupported usage is detected - -->\n\u003C!-- - [ ] -->\n- [x] Remove migration ease for `restructureDir` - require a directory name (keep default value `'i18n'`)\n- [x] Drop `bundle.optimizeTranslationDirective` (#3238)\n- [x] Drop `experimental.generatedLocaleFilePathFormat` (we use hashed virtual files now)\n- [x] Strip `file`/`files` properties from `i18n.options.mjs` generated file\n- [x] Remove deprecated functionality\n - [x] Drop `$resolveRoute()`\n - [x] Drop `$localeLocation()`\n - [x] Drop `useLocaleLocation`\n- [x] Deprecate (remove in v11)\n - [x] `$localeHead` - reason: use-case unclear, `useLocaleHead` is more flexible and easier to maintain\n - [x] `$getRouteBaseName` - rename to `$routeBaseName` to be consistent with `useRouteBaseName` (still under consideration)\n- [x] Promoting experimental options\n - [x] `experimental.switchLocalePathLinkSSR` - enable by default\n - [x] `experimental.hmr` - move to `hmr`\n - [x] `experimental.autoImportTranslationFunctions` - enable by default, move out of experimental (where?)\n - [x] `experimental.alternateLinkCanonicalQueries` - enable by default, consider deprecating (dropping in v11)\n\n\u003C!-- - [ ] Consider replacing/migrating `defineI18nRoute` with/to `definePageMeta({ ... })` -->\n\u003C!-- - [ ] Move i18n routing options to `routing` key?\n - [ ] `trailingSlash` to `routing.trailingSlash` (consider dropping altogether)\n - [ ] `routesNameSeparator` to `routing.routesNameSeparator`\n - [ ] `defaultLocaleRouteNameSuffix` to `routing.defaultLocaleRouteNameSuffix` -->\n",[],3435,"Roadmap to v10.0.0","2025-07-04T17:37:26Z","https://github.com/nuxt-modules/i18n/issues/3435",0.747481,{"description":3088,"labels":3089,"number":3091,"owner":3022,"repository":3023,"state":3052,"title":3092,"updated_at":3093,"url":3094,"score":3095},"### 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```",[3090],{"name":3061,"color":3062},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.7558218,{"description":3097,"labels":3098,"number":3100,"owner":3022,"repository":3023,"state":3052,"title":3101,"updated_at":3102,"url":3103,"score":3104},"### Describe the feature\n\nIt took me hours of fiddling around, to find out that in order to setup language fallback (in case of missing translation in the current language), I have to create `frontend/i18n/i18n.config.ts` with the following content:\n```\nexport default defineI18nConfig(() => {\n return {\n fallbackLocale: 'en-US',\n }\n})\n```\nNote that AI tools usually suggest adding configuration entries in `nuxt.config.ts`, and usually these fields are deprecated fields. My AI tools got lost completely while trying to resolve this.\nI believe this is a crucial information for implementers. Please add it to the project's guide.\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).",[3099],{"name":3019,"color":3020},3596,"Doc: add clear instructions how to set language fallback","2025-05-12T14:17:43Z","https://github.com/nuxt-modules/i18n/issues/3596",0.7576825,{"description":3106,"labels":3107,"number":3112,"owner":3022,"repository":3023,"state":3052,"title":3113,"updated_at":3114,"url":3115,"score":3116},"### 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```",[3108,3109],{"name":3061,"color":3062},{"name":3110,"color":3111},"scope: components","B327C3",3402,"Double nested `NuxtLinkLocale`","2025-05-30T19:25:27Z","https://github.com/nuxt-modules/i18n/issues/3402",0.76144373,["Reactive",3118],{},["Set"],["ShallowReactive",3121],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fRigdUM3Kg2vKcB-KCUN2_Jy_bfjU_G3hOQoBOA51ClY":-1},"/nuxt-modules/i18n/3720"]