Skip to content

Two languages, one layout

This page is the whole internationalization slice: two locales, the direction taken from the locale rather than from a stylesheet, and the numbers and dates formatted by the platform rather than by hand.

Text direction: left to right

Numbers

Formatted by Intl.NumberFormat, which knows each locale's own digits and separators.

  • 1,234,567.89
  • 0.42
  • 2,026

Dates

  • September 4, 2026
  • January 1, 2026

A list, to show the bullets move

  • The marker sits on the starting edge, whichever edge that is.
  • So does the padding, because the layout uses logical properties.
  • Nothing here is mirrored by hand.

What this does not do

The rest of the site is not translated. This slice proves the mechanism — direction, formatting, a locale in the URL — and stops there. A capability that claimed the whole site was translated would be exactly the kind of lie this project exists to stop telling.

Back to the site