Skip to content

Commit 676debe

Browse files
authored
docs: Mention redirects in turning off locale detection docs
1 parent a015e1b commit 676debe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pages/docs/routing.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ If you need to avoid these tradeoffs, you can consider building the same app for
456456

457457
### Turning off locale detection [#locale-detection]
458458

459-
The middleware will [detect a matching locale](/docs/routing/middleware#locale-detection) based on your routing configuration and the incoming request.
459+
The middleware will [detect a matching locale](/docs/routing/middleware#locale-detection) based on your routing configuration & the incoming request and will either pass the request through for a matching locale or redirect to one that matches.
460460

461461
If you want to rely entirely on the URL to resolve the locale, you can set the `localeDetection` property to `false`. This will disable locale detection based on the `accept-language` header and a potentially existing cookie value from a previous visit.
462462

0 commit comments

Comments
 (0)