Vibe Coding
lovable.dev

Lovalingo + Lovable

Translate Lovable TanStack Start apps with locale SEO

What is the best way to add i18n to Lovable?

Lovalingo is the fastest way to add i18n to Lovable apps because it supports the current TanStack Start setup path and legacy React/Vite projects. It translates UI text automatically and keeps SEO-friendly locale paths without manual JSON translation files.

For the full Lovable-specific workflow, see the Lovable i18n hub and the Lovable language switcher guide.

What is Lovable?

Lovable (lovable.dev) is a vibe-coding platform that generates full applications from natural language descriptions. It handles frontend UI, backend logic, and database schema. New projects are built on TanStack Start with SSR, while older Lovable projects may still use React/Vite patterns.

Why use Lovalingo for Lovable translation?

Lovable gives you the app and SSR foundation, but it does not replace a full localization layer. Lovalingo adds stack-aware i18n: TanStack Start setup for new Lovable apps, a standard provider setup for legacy React/Vite apps, automatic translations, locale routing, hreflang, translated metadata, and dashboard overrides.

  • Supports new Lovable TanStack Start apps
  • Supports legacy Lovable React/Vite apps
  • 10+ supported languages
  • SEO-friendly path routing (/fr/, /de/, /es/)
  • Automatic hreflang, canonical, html[lang], and translated metadata
  • Zero translation file maintenance

How do you install Lovalingo in Lovable?

Copy and paste this prompt into Lovable to add Lovalingo automatically:

Install Prompt
Install Lovalingo and add translation to this Lovable app.

1. Run: npm install @lovalingo/lovalingo
2. Detect whether this Lovable project uses TanStack Start or legacy React/Vite.

For TanStack Start:
- configure Lovalingo's TanStack Start setup
- make /en, /es, /fr, /nl and /:locale/* routes return HTTP 200
- server-render html[lang], canonical, hreflang, title, meta description, OG, and Twitter tags
- add the Lovalingo language switcher using TanStack navigation
- keep /.well-known/lovalingo.json, /robots.txt, and /sitemap.xml unprefixed

For legacy React/Vite:
- wrap the root app with LovalingoProvider
- set routing="path"
- add the LanguageSwitcher component

import { LovalingoProvider } from '@lovalingo/lovalingo/core';

export default function App() {
  return (
    <LovalingoProvider
      publicAnonKey="YOUR_PUBLIC_ANON_KEY"
      defaultLocale="en"
      locales={["fr", "de", "es", "it"]}
      routing="path"
    >
      {/* your existing app */}
    </LovalingoProvider>
  );
}

3. Verify /es returns 200, the switcher appears, and hreflang metadata is present in the initial HTML.

How do you set up Lovalingo with Lovable?

  1. 1

    Open your Lovable project

    Go to lovable.dev and open the project you want to translate. New Lovable projects use TanStack Start; older projects may use React/Vite.

  2. 2

    Paste the TanStack-aware install prompt

    Copy the prompt above and paste it into the Lovable chat. Lovable will install the package and apply the correct setup path for the detected stack.

  3. 3

    Get your Lovalingo public anon key

    Create a free account at lovalingo.com, create a project, and copy your public anon key.

  4. 4

    Add the public anon key to your Lovable project

    In Lovable, add the Lovalingo public anon key where the app reads public runtime config. Public anon keys are safe to expose in frontend code.

  5. 5

    Test locale URLs and deploy

    Open /es, /fr, and /nl, confirm they return 200, click the switcher, inspect html[lang] and hreflang, then deploy your Lovable project as usual.

Ready to translate your Lovable app?

Get started free. No credit card required. Add 10+ languages with the setup path that fits your app stack.

FAQ

Can I add translation to a Lovable app?

Yes. Lovalingo supports new Lovable projects built on TanStack Start and legacy Lovable React/Vite apps. Paste the install prompt into Lovable, and it applies the correct setup path for the app's stack.

Does Lovalingo work with Lovable's Supabase integration?

Yes. Lovalingo translates the frontend UI layer — it's completely independent of your Supabase backend. Your database content, auth, and storage remain unchanged.

How many languages can I add to my Lovable app?

Lovalingo supports 10+ languages: English, French, German, Spanish, Italian, Portuguese, Dutch, Chinese (Simplified), Arabic, Japanese, Hindi. The free Starter plan includes 1 language; paid plans unlock more.

Does Lovalingo work with Lovable's new TanStack Start stack?

Yes. New Lovable projects use TanStack Start with SSR, so Lovalingo uses a TanStack-aware setup for locale routes, server-rendered metadata, hreflang, and language navigation instead of relying on a generic provider alone.

Will translation break my Lovable app's design?

No. Lovalingo is designed to keep layout stable across languages. On SSR stacks, translations and language metadata are aligned with the first render; on client-rendered stacks, the provider keeps the language switcher and app content in sync.

Also works with

All integrations