Forumly
Back to forum
Guides

Discussion

Building clean multilingual routes with Next.js

How locale-prefixed routes keep the app predictable while still supporting translated content.

Updated Sep 23, 20266 min read

The frontend uses a locale segment at the top of the App Router tree. That gives every public page a predictable URL such as /en/home or /de/home.

The locale layout keeps a single page implementation for every language, so a language can be added or removed without duplicating pages.

Keeping locale handling close to routing makes it easier to add SEO metadata, translated navigation, and language switching later.

More from the forum

Back to forum