# `syntax.locales_default_required`

Locales declaration has no default.

Area 10, [Configuration and time](../topics/configuration-and-time.md); not declinable; the next step is usually the agent's.

```jadpo
locales {
    supported: [Locale.en_gb]
}
```

```text
error: `locales` has no `default:`
 --> main.jadpo:1:1
  |
1 | locales {
  | ^^^^^^^ no `default:`
  reason: The default is the locale a choice from an `Accept-Language` header falls back to, so every request ends up with a language the application supports.
  next: Add `default: Locale.en_gb` (agent)
  rule: syntax.locales_default_required
  help: https://jadpo.dev/docs/errors/syntax.locales_default_required

check failed: 1 error, 1 file
```
