vue-i18n

The internationalization plugin that brings translations, pluralization, and locale-aware formatting to Vue.js 3 apps.

Library
npm
v11.4.8
2,705stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
90/100Excellent
Development Activity92
Maintenance100
Community68
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
89/100Excellent
Architecture90
Code Quality90
Innovation88
Learning Curve70

Vue I18n is the de facto internationalization plugin for Vue.js 3, maintained under the Intlify project. It lets you define locale message catalogs, translate strings with the $t/t helpers, and localize dates, numbers, and currencies through the native Intl APIs.

It ships two API styles: a Composition API centered on useI18n() for <script setup> components, and a Legacy API that mirrors Vue I18n v8 for easier migration. Built on the Intlify message-compiler and core runtime, it supports named and list interpolation, linked messages, pluralization rules, and precompiled message functions for production performance.

What You Get

  • A Vue 3 plugin installed via createI18n with reactive locale switching
  • Composition API (useI18n) and Legacy API ($t, $tc, $d, $n) surfaces
  • Message syntax with named/list interpolation, linked messages, and pluralization
  • Locale-aware date, number, and currency formatting built on the Intl APIs
  • Precompilable message functions and a CDN build for production use

Common Use Cases

  • Localizing a Vue 3 single-page application into multiple languages
  • Formatting dates, numbers, and currencies per the user’s active locale
  • Handling pluralization and gendered/linked message variants across locales
  • Migrating an existing Vue I18n v8 codebase to Vue 3 via the Legacy API

Under The Hood

Architecture - Vue I18n is a layered pnpm monorepo. At the base, @intlify/message-compiler parses the Intlify message syntax into an AST (ResourceNode -> MessageNode/PluralNode -> element nodes) and compiles it to message functions. @intlify/core-base provides the framework-agnostic runtime (translate, datetime, number, fallback-locale chaining). @intlify/vue-i18n-core builds the Vue integration on top: the Composer (packages/vue-i18n-core/src/composer.ts), the i18n instance and Vue plugin, and the <i18n-t>/<i18n-n>/<i18n-d> functional components. The public vue-i18n package (packages/vue-i18n/src/index.ts) is a thin entry re-exporting the core APIs plus feature-flag/dev initialization.

Tech Stack - Written in TypeScript (94% of the codebase) targeting Node >= 22, with Vue as a peer dependency. The build is driven by tsx scripts (scripts/build.ts) producing ESM, CommonJS, and global/CDN bundles; internal packages are wired through pnpm workspace protocol dependencies (workspace:*). Tooling includes Vitest for tests, oxlint plus ESLint for linting, Prettier/oxfmt for formatting, and a benchmark suite plus VitePress docs site.

Code Quality - The repo is thoroughly tested, with roughly 49 *.test.ts suites across packages plus a dedicated e2e/ directory and a formal message-syntax spec (spec/syntax.ebnf). Types are strict and exported extensively from the public entry, the message layer is benchmarked, and CI runs lint, type-aware checks, and tests. The consistent naming and clear package boundaries reflect a mature, well-maintained project.

API Design - The public API is deliberately ergonomic: createI18n for setup, the useI18n() composable for <script setup>, and the familiar t/d/n (plus “ legacy) helpers in templates. Offering both a Composition API and a v8-compatible Legacy API smooths migration, and the documentation site, examples directory, and CodeSandbox playground make onboarding straightforward for teams already comfortable with Vue.

Used by 25 apps in this directory

Go
72%
GPL 3.0

1Panel

Devops · Hosting Control Panel · Monitoring

36,573

The only open-source VPS control panel with native AI agent runtime — deploy websites, Docker stacks, and local LLMs from one web interface.

View details
91
Repo Health
76
Technical
67
Dependency
Built with
Go72%
Vue28%
Updated today
JavaScript
94%
MIT

Another Redis Desktop Manager

Developer Tools · Databases

34,643

Fast, stable Redis GUI with cluster, SSH, and massive key support

View details
84
Repo Health
56
Technical
67
Dependency
Built with
JavaScript94%
Updated yesterday
PHP
63%
Other

BillaBear

Ecommerce · Invoicing Finance

754

Self-hostable subscription management and billing platform with Stripe integration, tax automation, configurable workflows, and Twig-based document generation.

View details
47
Repo Health
66
Technical
66
Dependency
Built with
PHP63%
Vue18%
Gherkin13%
Updated 2 months ago
Go
92%
AGPL 3.0

BillionMail

Marketing

15,424

Self-hosted email server and marketing platform that gives you unlimited sending, full deliverability control, and AI-assisted campaigns without monthly fees.

View details
59
Repo Health
74
Technical
73
Dependency
Built with
Go92%
Updated 2 months ago
Ruby
49%
Other

Chatwoot

Customer Support

35,974

Open-source omnichannel customer support platform with AI-powered agents, live chat, and self-hosting — a full Intercom and Zendesk alternative.

View details
95
Repo Health
78
Technical
72
Dependency
Built with
Ruby49%
Vue26%
JavaScript22%
Updated today
PHP
48%
AGPL 3.0

Crater

Invoicing Finance

8,341

Open source invoicing and billing platform for freelancers and small businesses — create estimates, track expenses, accept Stripe payments, and run recurring invoices from your own server.

View details
54
Repo Health
68
Technical
69
Dependency
Built with
PHP48%
Vue40%
Updated 2 years ago
Java
78%
GPL 3.0

DataEase

Analytics · Data Engineering · AI Assistants

24,346

Open-source BI tool with drag-and-drop dashboards, 20+ data source connectors, and AI-powered natural language queries — a self-hosted alternative to Tableau.

View details
94
Repo Health
71
Technical
66
Dependency
Built with
Java78%
Vue22%
Updated today
TypeScript
80%
Other

Directus

CMS · Low Code Platforms

37,462

Connect any SQL database and get instant REST and GraphQL APIs, a visual management Studio, and a native MCP server for AI agents — free for most organizations.

View details
93
Repo Health
82
Technical
78
Dependency
Built with
TypeScript80%
Vue18%
Updated yesterday
Go
39%
MIT

ezBookkeeping

Invoicing Finance

5,424

Lightweight self-hosted personal finance manager with AI receipt scanning, multi-currency support, and MCP integration for complete data privacy.

View details
88
Repo Health
80
Technical
75
Dependency
Built with
Go39%
Vue33%
TypeScript25%
Updated yesterday

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search