ErrorsConfiguration · rule
type.locale_default_unsupported
Default locale is not a supported one.
Area 10, Configuration; not declinable; the next step is usually the agent's.
locales { default: Locale.fr_fr supported: [Locale.en_gb]}
error The default Locale.fr_fr isn't a supported locale
--> main.jadpo:2:14
|2 | default: Locale.fr_fr | ^^^^^^^^^^^^ not in `supported:`3 | supported: [Locale.en_gb] | -------------- the supported locales
- reason
- The default is what a request with no usable
Accept-Languageis given, and formatting and translations accept only the supported locales, so the default has to be one. - next
- Add
Locale.fr_frtosupported:, or choose a default that is listed (agent) - rule
- type.
locale_ default_ unsupported - help
- https://jadpo.
dev/docs/errors/type. locale_ default_ unsupported
Markdown for agents: /docs/errors/type.locale_default_unsupported.md.Built from Jadpo main at aee2e8f.