Replies: 1 comment 1 reply
-
I'm able to replicate your issue and putting it here for reference: https://stackblitz.com/edit/github-ktnn3i?file=src/pages/about/about.vue I have also been facing the Vue Router warning, and it is related to #1602. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
"nuxt": "^3.0.0"
with"@nuxtjs/i18n-edge": "8.0.0-beta.4-27812700.b832f07"
(because of #1640).My problem is that I'd like to call a URL with the structure
/foo/EN/about
, which works fine, but the content from$t('bla')
is always the default language (DE) instead of EN. There's also a console warning[Vue Router warn]: No match found for location with path "/DE/EN/about"
. So it appears the prefix is added to my path although there is already a locale in it, which is not read. I suppose I'm doing something wrong, but can't figure out what the proper way would be.strategy: 'no_prefix'
was not a strategy either.My custom routes file at
app/router.options.ts
looks like this:This is the relevant i18n part in
nuxt.config.ts
Beta Was this translation helpful? Give feedback.
All reactions