// library
Severity
Bucket
Avoid prop drilling translation functions/objects; expose shared accessors (e.g., a global translation service or context API).
Do not hardcode user-visible strings in pages/layouts. Use an i18n library integrated with App Router and load dictionaries on the server.
Read UI strings from a localization source (e.g., AppLocalizations, arb) rather than hardcoding.
Emit stable message keys (for i18n/observability) and resolve user-facing text via localization layers.
Do not hardcode UI strings; use I18n keys with proper scopes.
5 rules