\n\nThe schedule page has nested \"child\" routes, which are displayed as \"tabs\" using `\u003CNuxtChild />`.\n\n\u003Cimg width=\"1288\" height=\"664\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/3f1a9bac-7094-4cd6-b5a8-3b6f8d26069f\" />\n\nWhen I visit the schedule route, I want to redirected to `schedule/[day].vue`, with \"day\" param set as \"1\", which would display the schedule for the first day of the event `/en/schedule/1`.\n\nI had to create a custom middleware because it was not supported.\n```js\n// schedule.vue\n\ndefinePageMeta({\n localeRedirect: {\n name: 'schedule-day',\n params: { day: 1 },\n },\n i18n: {\n paths: {\n fr: '/programmation',\n en: '/schedule',\n },\n },\n});\n```\n\n```js\n// localeRedirect.global.ts\n\nexport default defineNuxtRouteMiddleware((to) => {\n const localePath = useLocalePath();\n if (to.meta.localeRedirect && to.matched.length === 1 && !to.redirectedFrom) {\n return navigateTo(localePath(to.meta.localeRedirect));\n }\n});\n```\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).",[3244],{"name":3186,"color":3187},3801,"Add i18n support to `redirect` inside `definePageMeta`","2025-08-31T09:50:36Z","https://github.com/nuxt-modules/i18n/issues/3801",0.74033946,{"description":3251,"labels":3252,"number":3262,"owner":3175,"repository":3176,"state":3263,"title":3264,"updated_at":3265,"url":3266,"score":3267},"### Describe the feature\r\n\r\nAs discussed on Discord with @BobbieGoede and @harlan-zw, there is Harlan's amazing [site-config](https://nuxtseo.com/site-config/getting-started/background) project which aims to provide a central method for general site configuration so not every other module has to implement this itself.\r\n\r\n`nuxt-i18n` allows to specify a `baseUrl`, which is exactly such a reimplementation. I propose to support reading the `i18n.baseUrl` from `site.url` when it is available, keeping the fallback to `i18n.baseUrl`.\r\n\r\nOf course `i18n.baseUrl` *could* be marked as deprecated until the final `v8` release if everything works fine outsourcing the `baseUrl` to `nuxt-site-config` to keep a separation of concerns.\r\n\r\n### Additional information\r\n\r\n- [x] Would you be willing to help implement this feature?\r\n- [ ] Could this feature be implemented as a module?\r\n\r\n### Final checks\r\n\r\n- [X] Read the [contribution guide](https://nuxt.com/docs/community/contribution) (The contribution guideline of nuxt-modules/i18n is compliant with Nuxt too).\r\n- [X] Check existing [discussions](https://github.com/nuxt-modules/i18n/discussions) and [issues](https://github.com/nuxt/nuxt/issues).",[3253,3256,3259],{"name":3254,"color":3255},"need discussion","E9EC2E",{"name":3257,"color":3258},"PR Welcome","40922A",{"name":3260,"color":3261},"scope: configuration","b60205",2474,"closed","feat: support `nuxt-site-config`","2025-07-03T13:00:13Z","https://github.com/nuxt-modules/i18n/issues/2474",0.63869154,{"description":3269,"labels":3270,"number":3274,"owner":3175,"repository":3176,"state":3263,"title":3275,"updated_at":3276,"url":3277,"score":3278},"### Environment\n\n- Operating System: `Darwin`\r\n- Node Version: `v20.9.0`\r\n- Nuxt Version: `3.11.2`\r\n- CLI Version: `3.11.1`\r\n- Nitro Version: `2.9.6`\r\n- Package Manager: `pnpm@9.0.4`\r\n- Builder: `-`\r\n- User Config: `devtools`, `modules`, `i18n`\r\n- Runtime Modules: `@nuxtjs/i18n@8.3.0`\r\n- Build Modules: `-`\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-starter-dx8kkg?file=nuxt.config.ts\r\n\r\nThe reproduction will not work on stackblitz due to using the custom domains. Please clone it & test locally.\n\n### Describe the bug\n\nThe documentation [says](https://i18n.nuxtjs.org/docs/guide/different-domains#runtime-environment-variables):\r\n> Alternatively, to avoid the need for multiple builds, the locale domains can be overridden via runtime environment variables. The variable name should follow the format NUXT_PUBLIC_I18N_LOCALES_{locale code}_DOMAIN\r\n\r\nHowever, based on my testing, this doesn't seem to work. The domains provided through `.env` **do** appear in the lang switcher (result of `switchLocalePath()` call), however, they don't switch the locale.\r\n\r\nI'm not sure if I'm just doing something wrong or if this is a bug, but regardless, this issue either needs fixing or the documentation needs to be updated. I'd be happy to update the docs if necessary.\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[3271],{"name":3272,"color":3273},"scope: domains","fbca04",2931,"Overridden locale domains don't switch locale","2025-08-21T22:56:42Z","https://github.com/nuxt-modules/i18n/issues/2931",0.6808616,{"description":3280,"labels":3281,"number":3286,"owner":3175,"repository":3176,"state":3263,"title":3287,"updated_at":3288,"url":3289,"score":3290},"### Discussed in https://github.com/nuxt-modules/i18n/discussions/2958\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **silgon** May 26, 2024\u003C/sup>\r\nI'm trying to build a multi-domain website. However, I want part of the languages to be on one site. I would like something like the following:\r\n\r\n```typescript\r\nexport default defineNuxtConfig({\r\n // ...\r\n\r\n i18n: {\r\n locales: [\r\n {\r\n code: 'en-US',\r\n domain: 'mydomain.com'\r\n },\r\n {\r\n code: 'es-MX',\r\n domain: 'mydomain.com/es-MX'\r\n },\r\n {\r\n code: 'ch-DE',\r\n domain: 'another-domain.ch'.\r\n },\r\n {\r\n code: 'ch-FR',\r\n domain: 'another-domain.ch/ch-FR'\r\n },\r\n ],\r\n differentDomains: true\r\n // Or enable the option in production only\r\n // differentDomains: (process.env.NODE_ENV === 'production')\r\n },\r\n\r\n // ...\r\n})\r\n```\r\n\r\nI hope that it's clear what I want to do given the configuration. My guidelines where the following link https://v8.i18n.nuxtjs.org/guide/different-domains\r\n\r\nCould somebody give me some guidance? I'm not able to do what I want. (also some insights in the sitemap with that kind of configuration would be cool, but not sure if this is the right place)\r\n\r\nWhen I'm in the same domain, the language does not change (I use the href configuration as specified in the documentation)\u003C/div>",[3282,3285],{"name":3283,"color":3284},"need more info","e295d6",{"name":3272,"color":3273},2979,"Multi-Domain Website configuration with partial shared domains","2025-05-24T22:26:46Z","https://github.com/nuxt-modules/i18n/issues/2979",0.68206155,["Reactive",3292],{},["Set"],["ShallowReactive",3295],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fEzHl-NDYQpJWLN4c41MuUWNEP4FyZI36_S398wY-rnc":-1},"/nuxt-modules/i18n/3053"]