transle
v1.0.9
Published
**Transle** is a lightweight and flexible i18n library for React and JavaScript projects. It helps you **translate, interpolate dynamic values (`{name}`)**, and manage multi-language content effortlessly — with zero boilerplate.
Readme
🌐 Transle
Transle is a lightweight and flexible i18n library for React and JavaScript projects.
It helps you translate, interpolate dynamic values ({name}), and manage multi-language content effortlessly — with
zero boilerplate.
🌍 Demo: https://transle.vercel.app
✨ Features
- 🚀 Zero-config setup – works out of the box with JSON locale files.
- 🌏 Multi-language support – easily manage
en,fr,vi, or any language. - 🔤 Dynamic interpolation – use variables like
{name}directly in your translations. - 🪶 Flattened keys – fast and intuitive key-based lookup (
t("hero.slogan")). - ⚙️ Persistent language state – remembers user language preferences.
- 🎨 Lightweight – tiny footprint and easy integration into any React project.
📦 Installation
npm install transle
# or
yarn add transle