Vite Integration
Localize any Vite-powered application
Push JSON locale files, translate with AI across 182 languages, and pull type-safe definitions. Works with any framework on Vite — no plugin required.
$ npx i1n init
src/App.tsx
// vite.config.ts — no plugin needed
// i1n manages locale files directly
import { t } from 'i1n'
function App() {
return (
<div>
<h1>{t('home.welcome')}</h1>
<p>{t('home.description')}</p>
</div>
)
} Why Vite teams use i1n
No plugin required
i1n manages locale files directly. No Vite plugin needed — works with React, Vue, Svelte, or vanilla JS on Vite.
Framework-agnostic
Whether your Vite project uses React, Vue, Svelte, Solid, or vanilla JS, i1n handles translation the same way.
Type-safe translation keys
Auto-generated i1n.d.ts provides full IDE autocomplete and compile-time validation for every translation key.
AI-powered translation
One CLI command translates your entire Vite app to any language. Variable masking protects interpolation syntax.
Start localizing your Vite app
Free forever. No credit card required.