Migrate from @linguanahq/compiler
Replace the build dependency:
bun remove @linguanahq/compiler
bun add -d @linguanahq/viteThen select the React adapter explicitly:
import { linguana } from "@linguanahq/vite";
import { react as linguanaReact } from "@linguanahq/vite/react";
linguana({
adapter: linguanaReact(),
projectId: "your-project",
token: process.env.LINGUANA_PROJECT_TOKEN,
});environment now defaults to development, sourceLocale defaults to en, and a supplied token enables manifest upload unless upload: false is set. For build-driven translation, replace targetLocales with enabled: true; the dashboard’s enabled Languages list is authoritative.
The compatibility package remains available for one release and emits one deprecation warning per build.
Move an existing React or TanStack Start integration to the multi-framework Vite package.
Last updated October 3, 2026
Did this page get you to a working result?