Translate config/locales/en.yml, then check every line
Rails YAML starts with the locale as the root key and uses %{name} variables and one/other plural keys. Leave en: at the top of the German file, or translate %{count}, and the I18n gem shows English or a raw key. KAERIS writes de.yml with the right root and the variables intact.
The root key changes, the variables do not
en: becomes de:. Plural keys stay in place.
en: welcome: "Welcome back, %{name}!" cart: zero: "Your cart is empty" one: "%{count} item" other: "%{count} items" save: "Save changes"
de: welcome: "Willkommen zurück, %{name}!" cart: zero: "Dein Warenkorb ist leer" one: "%{count} Eintrag" other: "%{count} Einträge" save: "Änderungen speichern"
What KAERIS does with it
Locale root detected
A file rooted at
en:is recognised as Rails, and each translation gets its own root.Variables checked without AI
After translation a plain counting check compares every variable and tag with the original. A line that lost one is marked and shown on top.
Each line translated back
A different model, Gemini 2.5 Flash-Lite, translates every line back into your language, and DeepSeek V3.2 on US hosts (DeepInfra, DigitalOcean, Google) judges whether the meaning changed. You read what each line now says.
Questions
Languages with more plural forms?
Russian or Polish need few and many. Add those keys and they get translated; if one is missing, the check says so.
Do YAML anchors work?
Yes, within limits: a file whose anchors expand into a huge number of keys is refused.
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 with your file and --langs de,ja. A GitHub Action opens a pull request when new keys land. Docs