vue-i18n

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

Library
npm
v11.4.16
2,712 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
91 /100 Excellent
Development Activity 96
Maintenance 100
Community 68
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
89 /100 Excellent
Architecture 90
Code Quality 90
Innovation 88
Learning Curve 70

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 26 apps in this directory

Python
66%
MIT

Flowfile

Data Engineering

398

Visual ETL that compiles to Polars — build pipelines on a canvas, export as standalone Python, and run anywhere without platform lock-in.

View details
83
Repo Health
81
Technical
66
Dependency
Built with
Python 66%
TypeScript 17%
Vue 16%
Updated 1 weeks ago
Rust
37%
Other

Hook0

Devops

1,504

Open-source Webhooks-as-a-Service: deliver events to your users with auto-retry, signed payloads, and a real-time subscriber dashboard — all without building the infrastructure yourself.

View details
84
Repo Health
82
Technical
69
Dependency
Built with
Rust 37%
TypeScript 12%
Updated 1 weeks ago
TypeScript
68%
MIT

Hoppscotch

Developer Tools

80,676

A lightweight, offline-capable API development ecosystem for testing HTTP, GraphQL, WebSocket, MQTT, and SSE endpoints across web, desktop, and CLI.

View details
91
Repo Health
83
Technical
62
Dependency
Built with
TypeScript 68%
Vue 24%
Updated 1 weeks ago
Vue
50%
GPL 3.0

IT-Tools

Developer Tools

40,954

A unified collection of 88 web-based developer utilities — from JSON formatting to subnet calculation — all self-hostable, keyboard-searchable, and offline-ready.

View details
60
Repo Health
74
Technical
63
Dependency
Built with
Vue 50%
TypeScript 48%
Updated 1 weeks ago
Java
56%
Apache 2.0

Kestra

Automation · Data Engineering · Devops

29,967

Event-driven orchestration platform for data, AI, and infrastructure workflows — define everything in YAML, run anywhere at scale.

View details
94
Repo Health
81
Technical
69
Dependency
Built with
Java 56%
TypeScript 29%
Vue 14%
Updated 1 weeks ago
TypeScript
98%
MIT

Kimi Code CLI

AI Agents · AI Code Assistants · Developer Tools

7,983

A single-binary, terminal-native coding agent that reads, edits, and runs code end to end, built by Moonshot AI for Kimi models but pluggable with Anthropic, OpenAI, and Google providers too.

View details
83
Repo Health
87
Technical
67
Dependency
Built with
TypeScript 98%
Updated 1 weeks ago
Go
51%
AGPL 3.0

listmonk

Blogging · Marketing

23,944

High-performance, self-hosted newsletter and mailing list manager packaged as a single binary with built-in analytics, transactional messaging, and multi-channel delivery.

View details
90
Repo Health
74
Technical
64
Dependency
Built with
Go 51%
JavaScript 22%
HTML 20%
Updated 6 days ago
Python
45%
GPL 3.0

MaxKB

AI Development · Knowledge Management

23,022

Build enterprise-grade AI agents with RAG, workflows & multi-modal support

View details
92
Repo Health
68
Technical
66
Dependency
Built with
Python 45%
Vue 37%
TypeScript 17%
Updated 1 weeks ago
Python
67%
AGPL 3.0

MiroFish

AI Agents · AI Development

81,570

A universal swarm intelligence engine that spawns thousands of autonomous AI agents to simulate and predict how real-world events unfold across social, financial, and political domains.

View details
65
Repo Health
65
Technical
79
Dependency
Built with
Python 67%
Vue 33%
Updated 2 weeks ago

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