What is Lokalio?

Lokalio automates translation of locale files in your repository. When developers push code changes, Lokalio detects new or modified translation strings, sends them to an AI for translation, and opens a pull request with the translated files — no manual export/import, no context switching.

Think of it as CI for your translations.

How it works

  1. Configurenpx lokalio init scaffolds .lokalio.yaml and a CI workflow
  2. Push — developers push code with new/changed locale keys as usual
  3. Translate — Lokalio detects changed keys, sends them to the AI, and writes translations back to your target files
  4. Review — a pull request is opened with the translated files, ready for human review

Key Features

  • Git-native workflow — translations are generated as pull requests in your existing repos. No hosted file storage, no platform lock-in.
  • Format agnostic — supports JSON (flat and nested), YAML, Android XML, iOS .strings, PO/POT, XLIFF, properties, and PHP arrays.
  • AI-powered — uses LLMs via OpenAI-compatible endpoints for high-quality translations with context-aware prompts.
  • Placeholder preservation — variables, HTML tags, and template syntax ({{name}}, %s, <0>text</0>) are extracted before translation and reinserted after, so your code never breaks.
  • Two translation modesDiff mode translates only keys changed in the current git range; Add/remove mode detects keys present in source but missing from target files.
  • Context-aware — per-project glossary, tone guidelines, and AI instructions improve translation quality. All overridable per-run via a local context.yaml.
  • Multi-format CI — GitHub Action (composite) and GitLab CI template included.

New to Lokalio?

Start with the Getting Started guide to scaffold your first project in under 5 minutes.

Explore the Docs