Comments (2)
Your stackblitz reproduction doesn't seem to work for me (I haven't checked your repo repro locally yet either) but I think the issue here is that you're configuring custom routes for about
and not for about-us
.
My guess is that changing the configuration to the following should make things work as expected:
pages: {
'about-us': {
en: '/about-us',
de: '/uber-uns'
}
},
from i18n-module.
First of all, thank you for your contribution. @BobbieGoede
Yes, when I updated it as you said, I saw that the url changed depending on the link I clicked. Thanks a lot.
Expected: de/uber-uns
Happened: de/uber-uns
But before, when I manually typed de/uber-uns in the search bar, I could see the "Uber Uns" page in RouterView. Now I can't see the relevant pages even though the router has changed.
from i18n-module.
Related Issues (20)
- I18n configured the pages option and set customRoutes to true. The file path is also present, but the terminal reported an error stating that the route does not exist HOT 2
- Regression: Retrieve object nodes HOT 1
- how can I support returning objects or arrays from the language file? HOT 1
- Content with github source driver HOT 1
- useLocalePath() and then <NuxtLinkLocale> wrongly encoding paths for some uris HOT 1
- Can't match types i18n nuxt.config.ts
- useCookieLocale() does not work in server context (SSR)
- useRoute('login') does not work, it expects useRoute('login__LOCALE') HOT 11
- When override locales from Layer, I get an error: When using the langDir option the locales must be a list of objects. How to override Layer configuration from project layer? HOT 3
- Multi-Domain Website configuration with partial shared domains
- Cannot set headers after they are sent to the client - i18n cookie + redirect from auth middleware HOT 1
- Locale is back to default upon navigating HOT 1
- [BUG?]: Locale resolver scans `srcDir` instead of `rootDir` HOT 2
- detectBrowserLanguage does not work in production HOT 3
- undefined title in google SERP? HOT 3
- Unexpected token 'pages' HOT 1
- Need Assistance with Nuxt i18n URL Prefix Format HOT 2
- Routing breaks for pageMeta paths with nested routes HOT 1
- switchLocalePath(): [Vue Router warn]: No match found for location with path
- Cookie based locale detection is not respected in ssg mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i18n-module.