ErrorsConfiguration · rule
translation.locales_required
Translations without declared locales.
Area 10, Configuration; not declinable; the next step is usually the agent's.
Each language file is for one of the locales the application supports, and each supported locale words every message. With no locales { } there is nothing to check the wording against.
translations { order_shipped: "Your order for {name} has shipped."}
error Translations need the application's locales
--> domains/shipping/translations/en_gb.jadpo:1:1
|1 | translations { | ^^^^^^^^^^^^ no locales declared
- reason
- Each language file is for one of the locales the application supports, and each supported locale words every message. None is declared, so there is nothing to check the wording against.
- next
- Declare them in
app.jadpo, for instancelocales { default: Locale.en_gb supported: [Locale.en_gb] }(agent) - rule
- translation.
locales_ required - help
- https://jadpo.
dev/docs/errors/translation. locales_ required
Markdown for agents: /docs/errors/translation.locales_required.md.Built from Jadpo main at aee2e8f.