Installation
ilingo is published as six packages. Install only what you need.
Core
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
npm install @ilingo/fsLoads <directory>/<locale>/<namespace>.{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
npm install @ilingo/vueProvides an install() function, a <ITranslate> component, and a useTranslation() composable. Declares vue and @vueuse/core as peer dependencies.
Vuelidate adapter
npm install @ilingo/vuelidateShips translations for the built-in Vuelidate validators in EN / DE / FR / ES. Builds on @ilingo/vue.
Validup adapter
npm install @ilingo/validupFramework-agnostic bridge from validup Issues to ilingo — built-in EN / DE / FR / ES catalogs and translateIssue / translateIssues / translateIssueGroups helpers. No Vue; runs in Node SSR, edge, and workers. Declares ilingo and validup as peer dependencies.
Validup Vue plugin
npm install @ilingo/validup-vueThe Vue 3 layer for @ilingo/validup: composables, the <IValidup> / <IValidupT> components, and the install hook. Builds on @ilingo/vue; declares @validup/vue among its peers.
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().