You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a project uses different domains to separate localizations and the routes are translated using defineI18nRoute(), the routes from other locales are available in every locale as well.
For example, let's say I have route /about available on foo.com and /o-nas on foo.sk. When I go to foo.sk/about, it will still work.
Environment
Darwin
v20.9.0
3.14.159
3.15.0
2.10.4
pnpm@9.9.0
-
default
@nuxtjs/i18n@9.0.0
-
Reproduction
https://github.com/cernymatej/i18n-domain-routes
Describe the bug
When a project uses different domains to separate localizations and the routes are translated using
defineI18nRoute()
, the routes from other locales are available in every locale as well.For example, let's say I have route
/about
available onfoo.com
and/o-nas
onfoo.sk
. When I go tofoo.sk/about
, it will still work.Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: