From 5035075556495f78062b59f20d11a0c0845357cf Mon Sep 17 00:00:00 2001 From: Eric Burel Date: Mon, 20 Jun 2022 17:29:58 +0200 Subject: [PATCH] Describe relation between region locale and country locale when a country is not found (#37745) * Update i18n-routing.md * lint-fix Co-authored-by: JJ Kasper --- docs/advanced-features/i18n-routing.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/advanced-features/i18n-routing.md b/docs/advanced-features/i18n-routing.md index 032c152381368..03ffd73999fcd 100644 --- a/docs/advanced-features/i18n-routing.md +++ b/docs/advanced-features/i18n-routing.md @@ -27,6 +27,9 @@ Generally a Locale Identifier is made up of a language, region, and script separ - `nl-NL` - Dutch as spoken in the Netherlands - `nl` - Dutch, no specific region +If user locale is `nl-BE` and it is not listed in your configuration, they will be redirected to `nl` if available, or to the default locale otherwise. +If you don't plan to support all regions of a country, it is therefore a good practice to include country locales that will act as fallbacks. + ```js // next.config.js module.exports = {