next js 14 app router path translate localization
Unanswered
Common Moorhen posted this in #help-forum
Common MoorhenOP
I want to translate from EN version /contacts to DE version /kontakt so that url pathname is also translated
5 Replies
Spectacled bear
What is the issue?
@Common Moorhen I want to translate from EN version /contacts to DE version /kontakt so that url pathname is also translated
I personally wouldn't recommend that, but you can create folders for it, and translate the route name to english and display that route
best is to use i18n which can have routes like /en
Common MoorhenOP
i want to use EN locale by default using next-intl library so when i route to /contacts it will behave like i was at /en/contacts
but the folder structure using contacts inside [local] folder doesnt let me to rewrite it