Installation
ilingo is published as four packages. Install only what you need.
Core
bash
npm install ilingoThe core ships the Ilingo orchestrator, the IStore port, the MemoryStore adapter, the template engine, and the Intl formatter registry.
File-system adapter
bash
npm install @ilingo/fsLoads <directory>/<locale>/<group>.{js,mjs,cjs,ts,mts,json,conf} files lazily on first access. Use it when your translations live on disk instead of inline in code.
Vue 3 plugin
bash
npm install @ilingo/vueProvides an install() function, a <ITranslate> component, and a useTranslation() composable. Declares vue and @vueuse/core as peer dependencies.
Vuelidate adapter
bash
npm install @ilingo/vuelidateShips translations for the built-in Vuelidate validators in EN / DE / FR / ES. Builds on @ilingo/vue.
Requirements
- Node.js 22+ for development. The published bundles run anywhere ES2022 +
Intl.PluralRules/Intl.NumberFormat/Intl.DateTimeFormat/Intl.ListFormatare available — which is every modern browser and every supported Node version. - ESM only. Every package declares
"type": "module". CommonJS consumers can use dynamicimport(). - TypeScript 5+ if you want
defineCatalog()'s const-generic inference.