Iván Vargas

Intl-T. - A Fully-Typed Node-Based i18n Translation Library for TS

by
Intl-T is a fully typed object-based i18n translation library for TypeScript, React, and Next.js. Fully Type-Safe, Fast & Lightweight, Framework Agnostic, Rich API, Formatting helpers, Next.js Navigation.

Add a comment

Replies

Best
Iván Vargas
Maker
📌
Hi everyone 👋 Ivan here, built intl-t over +1 year solo. I originally built this translation library for my own projects, aiming to provide the best possible developer experience: high performance, ultra-lightweight and fully customisable with TypeScript autocomplete everywhere. It uses a translation object-based approach and offers a super flexible syntax, integrating the best features from other i18n libraries. It includes its own ICU message format, works out of the box with React and Next.js, supports static rendering, and has zero dependencies. Different approach to i18n: Object-based tree API (not flat keys): t.pages.title === t("pages.title") === t("pages")("title")({ name: "John" }) Some cool features: Awesome DX, super flexible syntax, high performance, light-weight, fully configurable, typescript everywhere, own ICU Message format extended, zero deps, react out of the box with nice component injection, custom hooks, and more. Seamless integration with Next.js Custom middleware, navigation, routing, optional locale param, hidden default locale, fallback. Static and dynamic rendering support with dynamic translations import.