Better Translatebetter-translate
  • Docs
  • CLI
  • Changelog
  • Docs
  • CLI
  • Changelog

An adapter for every stack

better-translate ships native adapters for every major TypeScript framework and runtime. The same config and the same API, everywhere.

TS

TypeScript

Strong types, autocomplete, and compile-time feedback from your messages.

bun add @better-translate/core
View docs

Astro

Request-scoped helpers and localized Astro content collections for .md and .mdx.

bun add @better-translate/astro
View docs

Bun

Native Bun runtime support with zero extra setup.

bun add @better-translate/core
View docs

Node.js

Zero-dependency core for scripts, servers, and background jobs.

bun add @better-translate/core
View docs

React

Context, hooks, and locale-aware client rendering for React apps.

bun add @better-translate/react
View docs

Next.js

Server components, App Router, and route-aware locale helpers.

bun add @better-translate/nextjs
View docs

TanStack Router

Type-safe routing support for TanStack Router projects, including TanStack Start apps.

bun add @better-translate/tanstack-router
View docs
More adapters coming soon...
Better Translate
Docs

MIT License · built with TypeScript