DEV Community

Ashwin Sathian
Ashwin Sathian

Posted on

Announcing @ngx-runtime-i18n v1.2.0 — Runtime i18n Done Right for Angular 16+

@ngx-runtime-i18n is a modern, runtime-driven internationalisation system designed for the current Angular ecosystem — signals, SSR, hydration, and streamed rendering.

The new v1.2.0 release brings three major improvements that close long-standing gaps in the Angular i18n landscape:


1. Ordered Fallback Chains

Missing keys now resolve across a full chain:
active → fallbacks[] → defaultLang

This removes an entire class of runtime failures and enables cleaner catalog organisation.


2. Catalog Caching Modes

Select the caching strategy for your app:

  • none: minimal memory footprint
  • memory: session-level caching
  • storage: hydrate translations directly from localStorage (with background verification)

Perfect for PWAs, offline-first apps, and SSR setups.


3. Developer Experience Helpers

New introspection methods:

  • getCurrentLang()
  • getLoadedLangs()
  • hasKey()

These are especially useful during SSR, logging, and debugging dynamic or user-driven catalog loads.


The SSR demo app now reflects these features, and all documentation has been updated.

If you're using Angular 16 or above and want to modernise your i18n strategy, give it a try.

Top comments (0)