Glossa

Open-source localization infrastructure

Implement localization once. Make languages configuration.

Glossa keeps your product's messages as typed, versioned data. AI drafts translations from your terminology and translation memory, people review where it matters, and signed releases reach every runtime.

One message, three views
cart.itemspluralvariable: count
en source
.input {$count :number}
.match $count
one {{{$count} item}}
*   {{{$count} items}}
de translation
.input {$count :number}
.match $count
one {{{$count} Produkt}}
*   {{{$count} Produkte}}

provenance: AI draftterminology checkedawaiting review

Messages, not files

The unit of localization is the message.

Most tools manage files full of key-to-string pairs. Glossa manages messages: structured, versioned product data that outlives any one file format.

  • A message is not a string

    Each message has an ID, a source, variables, plural and select logic, markup, constraints and context. It keeps its identity whichever format it came from.

  • Standards, not a private format

    The Unicode MessageFormat 2 data model, with ICU MessageFormat 1 as an authoring syntax. BCP 47 locale tags. CLDR plural and number rules through Intl and golang.org/x/text.

  • Files are for import and export

    JSON, XLIFF and PO come in and go out. They are never the model, so a rename, a review or a rollback never depends on how a file was laid out.

How it works

From a commit to a rendered string.

  1. Push from your code

    The glossa CLI extracts messages and usages from your source and pushes them. In CI it signs in without a stored secret.

  2. Translate and review in Studio

    AI drafts with your translation memory, terminology and style guide in context. People review what needs judgment.

  3. Publish an immutable release

    A release is a signed, content-addressed snapshot. Nothing in it changes afterwards, and rolling back means activating an older one.

  4. Render anywhere

    The edge CDN delivers releases to runtimes for JavaScript, Vue, React, Astro and Go. A runtime keeps rendering from its last good release if the network goes away.

Delivery is separate from authoring: a stateless edge serves published releases, so reading translations never goes through the control plane.

AI with provenance

Translate meaning in context. Review by exception.

AI is part of the workflow, not a translate button. Glossa gives it everything a good translator would ask for, then sends people the work that needs judgment instead of every segment.

Bring your own provider and keys. The model is a setting, not a dependency, and every translation says which one wrote it.

What the model gets

  • source message and its structure
  • product and visual context
  • neighboring messages
  • translation memory
  • terminology
  • style guide
  • locale conventions
  • earlier human corrections

What every translation records

  • how it was made: human, translation memory, machine translation, AI, import or adaptation
  • which model and configuration produced it
  • which context, TM matches and terminology it used
  • who reviewed it, and when

Translators can also work inside the running product: click localizable text in a preview or staging deployment to inspect, edit and comment on its message, then open the full workspace.

Who it's for

One system for the people and the agents who touch your words.

  • Developers

    Integrate once. Typed messages, a CLI that fits CI, runtimes for the stacks you ship, and an in-product editor for preview deployments.

  • Translators

    A keyboard-first workspace with translation memory, terms and context next to the text, and a review queue that shows what needs a decision.

  • Localization managers

    Coverage, quality checks, review workflows, approvals and releases per environment, with an audit trail behind them.

  • Coding agents

    The same capabilities through the API, an MCP server and a CLI whose every command takes --json. Anything that matters is reachable without the UI.

For developers

Push from the terminal, render from a release.

Real commands and real runtime calls, as the package READMEs document them.

CLI
# one-time, in your repo
glossa init --server https://glossa.klarlabs.de --project my-shop
glossa login

# on every change
glossa push && glossa check && glossa generate

# for scripts and agents
glossa check --json
Vue
import { createGlossa } from "@klarlabs-studio/glossa/vue";

createApp(App).use(
  createGlossa({
    edge: "https://cdn.glossa.klarlabs.de",
    deliveryKey: "glossa_pk_…",
    locales: "de",
  }),
);

// in a component
const { t } = useGlossa();
t("cart.items", { count: 3 });
Go
client, err := glossa.New(glossa.Config{
    EdgeURL:     "https://cdn.glossa.klarlabs.de",
    DeliveryKey: deliveryKey,
    Environment: "production",
    PublicKeys:  []glossa.PublicKey{signingKey},
})
defer client.Close()

subject := client.T(ctx, "invoice.payment_received", args)

JavaScript, Vue 3, React, Astro and Go share one release format and one conformance suite. Releases are verified against a signature before they activate.

Open source

MIT licensed, and yours to run.

Glossa is open source. A Helm chart deploys the control plane, the delivery edge and Studio against your own Postgres and object storage, and AI runs on your own LLM keys. Your translations stay product data you own.

Start with the hosted Studio

Create an account, add a project, push your first messages.