# `semantic.multiple_locale_declarations`

Locales are declared more than once.

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
    supported: [Locale.en_gb]
}

locales {
    default: Locale.en_us
    supported: [Locale.en_us]
}
```

```text
error: `locales { }` is declared twice
 --> main.jadpo:6:1
  |
1 | locales {
  | ------- first declared here
6 | locales {
  | ^^^^^^^ declared again
  reason: An application lists the locales it supports once, in `app.jadpo`, so formatting and translations all accept the same ones.
  next: Move what this `locales` lists into the first, and remove it (agent)
  rule: semantic.multiple_locale_declarations
  help: https://jadpo.dev/docs/errors/semantic.multiple_locale_declarations

check failed: 1 error, 1 file
```
