Vue, Svelte & SvelteKit
The same bundler plugin auto-wraps Vue SFCs and Svelte 4/5 components (runes included). Point it at your Vite, webpack, Rollup, Rspack, or esbuild build and run the same extract and translate commands.
Documentation
Go from hardcoded strings to a translated app in minutes. No t() calls to write, no keys to manage — extract, translate, ship.
Requires Node.js 20+ and a Hedgeling seat token, which every plan includes. See the React + Vite guide for registry setup, configuration, and troubleshooting.
.hedgeling/extract.config.json
vite.config.ts
Not on Vite? The same plugin is built on unplugin and ships entry points for webpack, Rollup, Rspack, and esbuild — import from @hedgeling/i18n/webpack, /rollup, /rspack, or /esbuild instead.
main.tsx
The --no-mt pass generates artifacts without machine translation. Configure a provider and review scope and cost before running translate without this flag.
The same bundler plugin auto-wraps Vue SFCs and Svelte 4/5 components (runes included). Point it at your Vite, webpack, Rollup, Rspack, or esbuild build and run the same extract and translate commands.
Angular keeps its own path: an ng generate schematic wraps templates, and translations are delivered by the runtime injector.
Drop the DOM injector script into any page — it translates rendered content by matching it against your bundle, with a MutationObserver for dynamic content. No code changes, no rebuild.
Full framework guides, the configuration reference, and the diagnostics catalog ship with the package — deeper docs are coming to this site.
Allow Google Analytics cookies to help us understand visits and improve Hedgeling? You can change your choice at any time.
Privacy policy