TypeScript-based translation library for React and Node.js that provides i18n, internationalization, localization, and ICU-style string parameter support. It helps with type checking and autocomplete for translation keys and parameters, and supports loading translation dictionaries per locale (including lazy loading via promises).
Project status
- Actively maintained, with recent work in 2026-02 (multiple tags on 2026-02-11) and prior updates as recently as 2025-10.
- Apparent updates cadence is at least periodic (about 3.5 months between 2025-10-24 and 2026-02-11), with at least a burst of follow-on updates on the same day.
AI summary generated Today
Recent updates
v1.26.1
3 months agov1.26.1 primarily updates the project’s npm release automation and refreshes the lockfile. The code diff shows a tooling and workflow shift (Volta-based setup, release configuration files removed) plus a lockfile regeneration.
v1.26.0
3 months agov1.26.0 introduces a new debug output capability that can annotate translated strings with the translation id, variables, provided args, and optionally the final translation text. The implementation adds a new `debug` option to the translator creation flow and wraps translation results to inject the debug metadata.
Featuresv1.25.2
7 months agoRelease v1.25.2 claims a fix for an intl formatter caching bug in InlineTranslator. The code changes match this intent in the React translator, and add a regression test around dateTimeFormatRange rendering after state changes. Additionally, there is a subtle behavior change in the toDate helper that is not mentioned in the release notes.
v1.25.1
7 months agov1.25.1 primarily addresses the React translator by reintroducing a React-level getTranslator API. The code changes also add internal context tracking and new React tests, indicating additional behavioral fixes not called out in the release notes.
Featuresv1.25.0
7 months agov1.25.0 adds an options update mechanism via `updateOptions` (plain translator) and via `TranslationContextProvider` (React translator). The release notes are minimal, but the code diff shows several additional API and behavior changes, especially around React exports, `getPossibleLocales` options, and `provideArgs` handling.
Featuresv1.24.0
8 months agov1.24.0 primarily introduces an exported helper, getPossibleLocales, for computing locale fallback candidates. The implementation is more than a rename, because locale resolution now supports an additional fallback mode (fallbackToMoreSpecific) that expands the locale list beyond the previous behavior.
Featuresv1.23.2
9 months agov1.23.2 is a small patch release focused on preventing premature loading of the source locale dictionary. The code changes implement lazy loading and caching of the source dictionary, and adjust key extraction to accept a dictionary factory.
v1.23.1
9 months agoRelease v1.23.1 contains mostly internal changes. The most notable functional code change is in the React translator, where updates from `provideArgs` subscriptions now attempt to avoid unnecessary `setArgs` calls via a new shallow object equality helper. The release notes do not mention this behavioral change or the dev-tooling dependency bumps.
v1.23.0
9 months agov1.23.0 introduces a new `keys` API to list translation keys, with optional prefix filtering and deterministic sorting. The implementation adds a new `getKeys` helper and wires `keys` into both the core translator and the React translator. The release notes only mention the feature at a high level and do not document several underlying behavioral/contract changes in how the source dictionary is loaded.
Featuresv1.22.2
3/17/2025v1.22.2 is a small maintenance release focused on correcting hook behavior when provided args change, and removing Nx Cloud configuration. The code change updates the React translator’s internal memoization/dependency wiring, and the repo config changes remove Nx Cloud credentials from nx.json.