Unverified Commit 50350755 authored by Eric Burel's avatar Eric Burel Committed by GitHub

Describe relation between region locale and country locale when a country is not found (#37745)

* Update i18n-routing.md

* lint-fix
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 8db1ad98
......@@ -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 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment