Translate

Translate Mozilla Fluent .ftl files

Fluent messages can hold variables, references to terms and whole select expressions. KAERIS translates every text part and keeps the structure around it, then checks the variables and term references.

How a Fluent file is built

Messages are id = text, with { $name } variables, { -brand-name } term references, attributes (.title) and select expressions with [one] variants and a * default. Comments start with #.

Source fileen.ftl
# Shown on the home screen
welcome = Welcome back, { $name }!
emails =
    { $count ->
        [one] You have { $count } new email.
       *[other] You have { $count } new emails.
    }
-brand-name = Firefox
about = About { -brand-name }

What to watch for in Fluent translations

A real run: translated to German and checked

A real run, 27 October 2026, nothing edited by hand: kaeris translate en.ftl --langs de with kaeris 0.2.35, 2.1 seconds, model google/gemini-2.5-flash-lite, the free-tier default. Below, the German file it wrote and what kaeris check says about it.

German resultde.ftl
# Shown on the home screen
welcome = Willkommen zurück, { $name }!
emails =
    { $count ->
        [one] Sie haben { $count } neue E-Mail.
       *[other] Sie haben { $count } neue E-Mails.
    }
-brand-name = Firefox
about = Über { -brand-name }
kaeris checkexit code 0
$ kaeris check --source en.ftl --langs de
✓ de: complete & placeholder-safe
✓ all locales complete & placeholder-safe

What KAERIS does with it

Run it in three steps

  1. Install the CLI

    Run pip install kaeris.

  2. Translate the file

    Run kaeris translate locales/en/app.ftl --langs de,ja.

  3. Check the result

    Upload the source and the translated .ftl on the free check page.

pip install kaeris
kaeris translate locales/en/app.ftl --langs de,ja --verify

Questions

Are select expressions supported?

Yes. Each variant is translated on its own and the structure is written back.

What about terms like -brand-name?

They are entries of their own and are compared with the source; a translation that leaves one out is reported as a missing key.

Is it free?

Yes, without an account: 10,000 characters per file and up to 8 languages per run. A free API key raises the file limit to 50,000 characters. Lifetime is $79 once, on your own OpenRouter key; monthly plans start at $19. Pricing

Can I run it from the terminal or in CI?

Yes. pip install kaeris, then kaeris translate locales/en/app.ftl --langs de,ja. The GitHub Action runs the same translation in a pull request. CLI docs · GitHub Action

Keep going

CLI reference · Check reference · Translate in the browser · Free check · Convert formats · Pseudo-localization

Other formats: JSON · YAML · .po · ARB · XLIFF · .strings · .xcstrings · .properties · .resx · CSV · Markdown · Android XML

Framework guides: react-i18next · next-intl · vue-i18n · Flutter · iOS · Android