Next.js Discord

Discord Forum

i18n internationalisation

Unanswered
Aidi posted this in #help-forum
Open in Discord
AidiOP
Hi guys I am working on next js localisation. i alrady done it but i need help with routing, currently i have /en version and /nl version, but what i would like to do, that by default / = /en and. /nl is still nl ,
would anyone help me ? thanks

3 Replies

AidiOP
i have created [locale] and page inside
and layout and page, and based on language choosen its choosing /en or /nl version
but i would like to rewrite prefix instead of. /en its always / and for nl version it goes to /nl