Fuma Translate

Philosophy

The core idea behind Fuma Translate.

The Goal

Fuma Translate was originally created to serve the Fumadocs & Fumapress ecosystem, it must meet the following needs:

  • No code transformation required: Fumadocs components are installable via a CLI tool (like Shadcn UI), it should not require consumers to install a compiler, nor to configure additional Vite/Turbopack plugins.
  • Fast: Should be very fast, the fuma-translate compiler is written in Rust for best performance.
  • Minimal & tiny: The runtime layer is very tiny, the API is designed without advanced features like datetime formatting.

Strictly speaking, Fuma Translate is more of a linter that relies on types, it ensures your translations are always up-to-date, while offering some runtime utilities to empower common needs.

On this page