Vite plugin that provides a visual editor for Gettext .po translation files in Vite projects. Current stable version is 0.1.4. The plugin adds a web UI for browsing and editing .po files, includes HMR support, and integrates with the wuchale i18n library. Key differentiators: framework-agnostic (works with any Vite setup), built-in HMR, and support for SvelteKit conventions. It is AGPL-3.0 licensed and published with npm provenance. Release cadence is rapid with frequent patches.
npm install vite-plugin-lingoVerified import paths — ran on the pinned version, not inferred.
Sets up vite-plugin-lingo with a custom route and locales directory in Vite config.
Upgrade Vite to ^5.0.0, ^6.0.0, or ^7.0.0.
Install svelte: npm install --save-dev svelte
const lingo = require('vite-plugin-lingo').default;Use `reloadOnPoChange: true` instead unless you have a plugin conflict.
import lingo from 'vite-plugin-lingo'
const lingo = require('vite-plugin-lingo').default;npm install --save-dev svelte