Skip to content

Frameworks

Built for the framework you already use.

Stable adapters connect Next.js, TanStack Start, React Router, Remix, Waku, Solid, and Vite with the same message model. Vue, Nuxt, Svelte, and SvelteKit are Preview proofs with no published package yet. All ten framework families run the four matrix strategies: cookie, route prefix, subdomain, and TLD, with the same booking demo in four languages.

01 — Matrix

Four URL strategies per framework — running as apps.

10 frameworks × 4 locale strategies. Open a live demo, or read the source of the exact app behind each cell.

FrameworkCookieRouteSubdomainTLD
Next.js
SSR
✓ verified
✓ verified
✓ verified
✓ verified
TanStack Start
SSR
✓ verified
✓ verified
✓ verified
✓ verified
Solid
SSR
✓ verified
✓ verified
✓ verified
✓ verified
Waku
SSR
✓ verified
✓ verified
✓ verified
✓ verified
React Router
SSR
✓ verified
✓ verified
✓ verified
✓ verified
Remix
SSR
✓ verified
✓ verified
✓ verified
✓ verified
Vue
CSR
✓ verified
✓ verified
✓ verified
✓ verified
Nuxt
SSR
✓ verified
✓ verified
✓ verified
✓ verified
Svelte
CSR
✓ verified
✓ verified
✓ verified
✓ verified
SvelteKit
SSR
✓ verified
✓ verified
✓ verified
✓ verified

● public demo · ✓ verified in CI.

SSR = server-rendered HTML with hydration. CSR = client-side rendering in the browser. Labels describe these demos across all four locale strategies.

All 41 demos are smoke-checked in the production image and have Playwright browser contracts. Vue and Svelte render in the browser; Nuxt, SvelteKit, and the six other app frameworks also check server rendering and hydration. Versioned screenshots cover 20 established UI-adapter examples. The separate Vite MDX demo is also live. See the hosting evidence for public verification.

02 — Strategies

Pick the locale strategy your product needs — not the one your framework dictates.

  • Cookie

    One URL for all locales. Useful for signed-in apps; an explicit language choice is persisted and opens a new document in that locale.

  • Route segment

    /de/checkout-style paths. The SEO-friendly default for public content with indexable localized pages.

  • Subdomain

    de.example.com. Clean separation per market, works well with regional CDNs and analytics splits.

  • Top-level domain (TLD)

    product.com to product.de. Palamedes replaces the final DNS label and keeps the rest of the hostname; paths have no locale prefix.

Explicit language domains are a fifth option in the shared locale controls. Map my-product.com to English and mein-produkt.de to German, with no locale path prefix. TLD mode changes only the final DNS label; domain mode maps the complete hostname. This additional option and SEO link generation have focused core tests; the live matrix above covers cookie, route prefix, subdomain, and TLD.

03 — Per framework

Your stack, specifically.

Next.js

examples/nextjs-*

App Router with server components and server actions. The @palamedes/next-plugin handles the host-specific build wiring; authoring, catalogs, and runtime access stay on the shared model.

cookieroutesubdomaintldi18n guide →source →

TanStack Start

examples/tanstack-*

Server functions and file-based routing, integrated through @palamedes/vite-plugin. Locale resolution runs in a server function; the client stays island-light.

cookieroutesubdomaintldi18n guide →source →

Solid

examples/solid-*

Solid-native rich-message rendering with @palamedes/solid — the same macro authoring, hook-free lookup, and catalogs as React.

cookieroutesubdomaintldi18n guide →source →

Waku

examples/waku-*

Minimal RSC framework. Waku exercises the request-local runtime model through a different server integration, which is why it belongs in the matrix.

cookieroutesubdomaintldi18n guide →source →

React Router

examples/react-router-*

Framework-mode React Router with loaders and actions. The classic SPA-plus-SSR shape, same catalogs, same runtime.

cookieroutesubdomaintldi18n guide →source →

Remix

examples/remix-*

The new Remix stack — not React Router Framework Mode and not React. Node and browser asset loaders cover ordinary and rich Remix UI macros; the cookie example proves SSR, hydration, interaction, and full-document locale navigation.

cookieroutesubdomaintldi18n guide →source →

Vite

packages/vite-plugin

The shared build integration behind TanStack Start, Solid, Waku, and React Router. Use it directly with React, Solid, Vue, or Svelte for macro transforms, PO imports, and build diagnostics.

MDX demoi18n guide →source →

Vue

proof/vue-vite

Vue 3 + Vite with macros directly in script setup and normal script blocks. Native extraction, source maps, active-locale catalogs, and async components run in the shared booking proof. This Vite proof is browser-only; the separate Nuxt proof covers Node SSR. Vue rich text remains unsupported.

cookieroutesubdomaintldi18n guide →source →

Nuxt

proof/nuxt-ssr

Nuxt 4 + Nitro Node SSR reuses Vue SFC macros and the shared booking demo. It checks translated HTML, hydration, lazy catalogs and pages, localized API handlers, and parallel request isolation in four languages. Cookie, route, subdomain, and TLD demos share the same app.

cookieroutesubdomaintldi18n guide →source →

Svelte

proof/svelte-vite

Svelte 5 + Vite with macros directly in component scripts. Native extraction and transformation preserve source locations and source maps. The shared four-language booking example checks reactive plurals, formatting, interactions, and lazy component catalogs in development and production.

cookieroutesubdomaintldi18n guide →source →

SvelteKit

proof/sveltekit-ssr

SvelteKit 3 + adapter-node reuses the Svelte compiler path and shared booking demo. The proof checks translated SSR, hydration, lazy components and routes, request isolation, and catalog failures in four languages. All four locale strategies use the same app.

cookieroutesubdomaintldi18n guide →source →

04 — Backend

Backend services are a separate integration path.

Hono and Express do not use a frontend adapter. They call the shared runtime with request-local locale resolution, so transactional emails, API errors, and PDF generation use the same catalogs without pretending to be framework UI.

05 — Rust

Your Rust app can load translations separately.

Cargo prepares external language catalogs for native CLIs and services. Translate text, display arguments, string selects, and cardinal and ordinal plurals. The guide includes the Cargo dependency, supported message forms, and a complete example you can run.

See your framework speaking four languages — right now.

The live demos are the same applications CI checks. Switch the language and watch server and client stay in step.