Modules@revojs/translate

Messages and routes that speak the same language.

Localize copy and route paths together, with locale detection and generated types shared across server and client rendering.

Open on npm

What it handles

Typed message keys
Localized route paths
Parameter, query and header detection
Lazy locale loading
Start here
import { useTranslate } from "@revojs/translate";
import { useScope } from "@revojs/vue";

const { route, translate } = await useTranslate(
    useScope(),
    "@revojs/app",
);

translate("welcome");
route("/docs");

Keep exploring

Related modules

@revojs/vue

Bring Vue rendering, nested layouts, client navigation and server-aware data loading into the revojs route system.

@revojs/ui

A compact Vue component library with semantic themes, Iconify integration and accessible primitives designed to be composed.

@revojs/auth

Manage signed sessions, password and passkey methods, OAuth providers and lifecycle hooks without surrendering your application model.