Aller au contenu

Open source / Next.js / next-tongue

next-tongue

Compiler-first, type-safe i18n for the Next.js 16 App Router, built for Cache Components (pre-alpha)

Flagship · utilisé sur ce siteSur npm
$ npm install next-tongue
$ npx tongue init

Used on this site: i18n readiness (en-GB at launch) · Associe avec next-herald

Flagship · engineering

Problem, decisions, proof.

01 · Problem

Existing i18n libraries predate Cache Components and proxy.ts. next-tongue compiles messages at build time and resolves the locale from route params only, so translated pages stay cacheable.

02 · Documentation

04 · CI gates

  • Lint, typecheck and unit tests
  • Dependency check (zero runtime deps)
  • Bundle size check
  • Matcher benchmarks
  • Docs sample check
  • Playwright e2e on example apps

Workflows: ci.yml · nightly-canary.yml · publish.yml

README

Impossible de charger le README. Voir sur GitHub ↗