Configuration and time · rule
type.locale_unsupported
Locale is not one the application supports.
Area 10, Configuration and time; not declinable; the next step is usually the agent's.
type OrderedAt = Instant {}locales { default: Locale.en_gb supported: [Locale.en_gb]}function placed_label(ordered_at: OrderedAt) -> PresentationText { return text.format( ordered_at, zone: Zone.utc, locale: Locale.fr_fr, format: TimeFormat.date_long )}
error: `Locale.fr_fr` isn't a locale this application supports --> main.jadpo:12:17 |12 | locale: Locale.fr_fr, | ^^^^^^^^^^^^ not in `locales` reason: `text.format` writes text in the locales listed in `locales { supported: }`, in `app.jadpo`; `Locale.fr_fr` is not one of them, and the server never guesses a language. next: Add `Locale.fr_fr` to `supported:` in `app.jadpo`, or use a locale that is listed (agent) rule: type.locale_unsupported help: https://jadpo.dev/docs/errors/type.locale_unsupportedcheck failed: 1 error, 1 file
Markdown for agents: /docs/errors/type.locale_unsupported.md.Built from Jadpo main at a707efb.