next-intl provides internationalization (i18n) tools for Next.js, including ICU message syntax for translations and formatting for dates, times, and numbers. It also offers a hooks-based API for turning translation messages into plain strings or rich text, with type-safe message key support. It is useful for building language-aware React apps, including internationalized routing.
Project status
- Actively maintained: The repo has had a recent upstream push (2026-06-05), and multiple tagged updates landed in May 2026 (v4.13.0, v4.12.0, v4.11.2).
- Update cadence (apparent): Roughly every 1 to 2 weeks based on the recent sequence (v4.11.2 on 2026-05-11, v4.12.0 on 2026-05-13, v4.13.0 on 2026-05-28).
AI summary generated Today
Recent updates
v4.13.0
1 week agov4.13.0 changes how next-intl auto-generates message IDs for extraction by switching from standard base64 to URL-safe base64 (no padding). Release notes state this affects `useExtracted` and that existing keys must be updated accordingly. The code diff indicates the ID generation change is applied at the extractor/plugin level, which can impact auto-generated IDs in broader extraction workflows.
BreakingFeaturesv4.12.0
3 weeks agov4.12.0 focuses on improvements around `useExtracted`. The release notes only call out a small required configuration change for `useExtracted` users, but the code diff shows deeper changes in the extraction pipeline and the shape of extracted metadata that can affect generated catalogs and any consumers depending on that metadata.
BreakingFeaturesv4.11.2
3 weeks agoRelease v4.11.2 is a small bug fix release that reverts a prior change related to using the proxy header x-forwarded-host for redirect domain behavior in next-intl middleware. The code change specifically alters how the middleware chooses the redirect host, protocol, and port when constructing redirect URLs.
v4.11.1
1 month agov4.11.1 is a small patch release that targets Next.js telemetry behavior, specifically preventing watcher startup when Next runs its detached telemetry flush process. The code change is implemented via runtime detection in the Next.js plugin initialization path, and the diff also includes multiple extractor-related test updates and internal refactoring signals.
v4.11.0
1 month agov4.11.0 adds support for formatting locale-aware display names via a new `displayName` function on the `useFormatter` hook. The change includes TypeScript typing for global formats (`formats.displayName`) and updates documentation and tests to cover `Intl.DisplayNames` usage.
Featuresv4.10.1
1 month agov4.10.1 is a small bug fix release focused on how next-intl middleware builds redirect URLs when running behind a reverse proxy. It now uses the `x-forwarded-host` header to determine the redirect host, and uses `x-forwarded-proto` and `x-forwarded-port` to set the protocol and port.
v4.10.0
1 month agov4.10.0 adds support for overriding the global `localePrefix` behavior on a per-domain basis. The change affects routing configuration types, middleware redirect/rewrite decisions, link generation (alternate links), and client navigation pathname prefixing logic.
Featuresv4.9.2
1 month agov4.9.2 is presented as a bug fix release addressing prototype-safety issues when using `precompile: true`. The code diff shows broader prototype-hardening changes across message extraction, catalog precompilation, and ICU message compilation, aiming to prevent prototype pollution and prototype-key collisions.
BreakingSecurityv4.9.1
1 month agov4.9.1 is a patch release with a single documented bug fix: improving middleware pathname validation. The code changes primarily focus on hardening how middleware sanitizes incoming pathnames to prevent malicious URL/path parsing edge cases that can lead to open redirects.
v4.9.0
2 months agov4.9.0 adds support for the `transitionTypes` prop on `Link`. In the codebase, this is implemented via TypeScript prop typing changes in the shared navigation Link wrapper, and the repo also bumps Next.js and React type dependencies used by examples and tooling.
Features