Skip to content

Commit 49fce7c

Browse files
committed
Add note about localizing pathnames with a CMS [skip ci]
1 parent 064c692 commit 49fce7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/pages/docs/routing/navigation.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ For example:
2323
- `/en/about`
2424
- `/de/ueber-uns`
2525

26+
**Note:** The terms "shared" and "localized" pathnames are used to refer to pathnames that are created via the file-system based routing in Next.js. If you're using an external system like a CMS to localize pathnames, you'll typically implement this with a catch-all route like `[locale]/[[...slug]]`.
27+
2628
---
2729

2830
Each strategy will provide you with corresponding [navigation APIs](#apis) that you'll typically provide in a central module to easily access them in components (e.g. `src/navigation.ts`).

0 commit comments

Comments
 (0)