Need help with Translated Routes (URL segments)
Unanswered
Nitrus posted this in #help-forum
NitrusOP
Hi all, good to be here.
I'm implementing a mid-size project with Next.js, just now picking up the App router, while I was very used to the Pages router before.
I need to have translated routes, i.e.
The important bit is the
Previously I would have handled this manually on the middleware, though I'm wondering if there's another best practice with the new App router?
Searching around doesn't seem to yield many results.
Thanks in advance.
I'm implementing a mid-size project with Next.js, just now picking up the App router, while I was very used to the Pages router before.
I need to have translated routes, i.e.
page.com/article/[slug] vs page.com/artikel/[slug] when switching content from one language to another.The important bit is the
article vs. artikel, or whatever other language may need to exist.Previously I would have handled this manually on the middleware, though I'm wondering if there's another best practice with the new App router?
Searching around doesn't seem to yield many results.
Thanks in advance.