Internationalization example

One bilingual feature island

English

Explore the same product patterns in English and French without changing the template's normal routes.

This isolated example does not translate the real application, documentation, billing, or customer data.

Documentation example

Locale-owned MDX content

The article below is imported directly from the English content folder. It is separate from the template's real Docs collection.

Source: examples/i18n/content/en/documentation.mdx

Add a language without reorganizing your app

This example keeps translated content next to the feature that owns it. The normal application remains English-only until you deliberately reuse the pattern in a page you choose.

Keep one content owner

Place each language in an explicit directory:

examples/i18n/content/
β”œβ”€β”€ en/documentation.mdx
└── fr/documentation.mdx

The documentation example imports these files directly. They are not registered with the real Fumadocs collection, so enabling the showcase does not add localized production documentation routes.

Adopt the pattern one page at a time

  1. Add matching message keys to both catalogs.
  2. Pass the selected catalog to the component that owns the page.
  3. Format dates and numbers with the selected locale.
  4. Add focused proof for the translated copy and unchanged business values.

Start with one customer-facing surface. Expand only when the product needs another translated owner.

Preserve business truth

A locale may change how a fixed date, number, or USD amount is displayed. It must not change the stored value, selected Stripe price, tax behavior, authentication, or access.

That boundary makes this example safe to copy without pretending the whole application has already been internationalized.