-
Hello! I am building an app with
and I want to achieve that they become translated at build time. If I change the locale from So the output is
and so on. What could I have done wrong? [locale]/layout.tsx
[locale]/page.tsx
[locale]/(misc)/about-us.tsx
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Is there a bug in your app or are you concerned about the build output? Note that the middleware is responsible for creating the necessary rewrites when localized pathnames are used. This recent discussion is closely related: #846 |
Beta Was this translation helpful? Give feedback.
It’s just the way Next.js works, the linked discussion has some more details on this.