# `syntax.locales_duplicate_option`

Locales option is given twice.

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

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

```text
error: `default:` is given twice
 --> main.jadpo:3:5
  |
2 |     default: Locale.en_gb
  |              ------------ first given here
3 |     default: Locale.fr_fr
  |     ^^^^^^^ given again
  reason: `locales` says each of `default:` and `supported:` once.
  next: Keep one `default:` and remove the other (agent)
  rule: syntax.locales_duplicate_option
  help: https://jadpo.dev/docs/errors/syntax.locales_duplicate_option

check failed: 1 error, 1 file
```
