---
id: portfolio.ds.locale-fallback-notice
name: "Locale Fallback Notice"
type: pattern
status: active
relations: [{"type":"composes","target":"portfolio.ds.heading"},{"type":"composes","target":"portfolio.ds.link"},{"type":"composes","target":"portfolio.ds.paragraph"}]
sources: ["apps/portfolio-site/src/components/routes/LocalizedPageShell.astro","apps/portfolio-site/src/design-system/docs/locale-fallback-notice.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts","packages/design-system/src/components/LocaleFallbackNotice.astro"]
catalog: ["apps/portfolio-site/src/design-system/docs/locale-fallback-notice.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/locale-fallback-notice.astro"]
---
# Locale Fallback Notice

## Purpose

Explicitly identifies English source content rendered on a localized route because a reviewed current translation is unavailable.

## Contract

- Renders only for a missing or stale translation fallback.
- Appears before the fallback content.
- States that the content is English and links to its canonical English page.
- Uses Block spacing.
- Composes the existing `Heading`, `Paragraph`, and `Link` components.
- Does not decide whether a translation is eligible; the application content selector owns that decision.

## Use

- Use before English content on a localized route when the requested translation is missing, stale, or unapproved.

## Do Not Use

- Do not render on English routes or on an approved translation whose source version is current.
- Do not use as a generic error, loading, or empty-state message.

## Accessibility

- Uses a labelled complementary landmark.
- Keeps its canonical English action keyboard accessible and visibly labelled.

## Code Paths

- `packages/design-system/src/components/LocaleFallbackNotice.astro`
- `apps/portfolio-site/src/components/routes/LocalizedPageShell.astro`
- `apps/portfolio-site/src/design-system/docs/locale-fallback-notice.astro`

## Verification

- Confirm the notice appears on fallback pages and is absent from approved current translations.
- Confirm the link opens the canonical English equivalent.
- Run `scripts/design-system-graph --check --no-write`.
