Skip to content
Sonenta

Use case

Multilingual static site

You build with Astro, you want ten languages, and you do not want a kilobyte-heavy runtime to serve them.

The problem

  • Client-side i18n adds weight and a flash on first paint.
  • Keeping ten file trees in sync by hand turns into a job.
  • Every text fix triggers a full rebuild and redeploy.

What Sonenta changes

This page is the proof: sonenta.com runs on it, in 13 languages. The text you are reading was fetched from the CDN at build time.

Where to start

// astro.config.mjs
import sonenta from "@sonenta/astro";

export default defineConfig({
  integrations: [
    sonenta({ project: "proj_xxx", version: "main",
              locales: ["fr","en","es"], defaultLocale: "fr" }),
  ],
});

// dans un composant : zéro JavaScript client
import { getT } from "sonenta:i18n";

Known limits

Down to the last word.

Ready to adapt your product to every user?

Start free in minutes. No credit card, no commitment, and your exports always open.