ErrorsConfiguration · rule
type.locale_invalid
Locale is not written as a Locale.
Area 10, Configuration; not declinable; the next step is usually the agent's.
A locale is a name in Locale, not text; a tag in quotes is the common
slip, and the fix is one edit:
locales { default: Locale.en_gb supported: [Locale.en_gb, "fr-FR"]}
error "fr-FR" isn't written as a locale
--> main.jadpo:3:31
|3 | supported: [Locale.en_gb, "fr-FR"] | ^^^^^^^ not a `Locale`
- reason
- A locale is a name in
Locale, writtenLocale.<tag>with the tag in lower case and_for-:Locale.en_gbis en-GB. Closed choices are names, not text, so a misspelt one is caught while compiling. - next
- Write
Locale.fr_frinstead (agent) - rule
- type.
locale_ invalid - help
- https://jadpo.
dev/docs/errors/type. locale_ invalid
Markdown for agents: /docs/errors/type.locale_invalid.md.Built from Jadpo main at aee2e8f.