Automate Localization with Lara CLI

Integrate the world's most reliable translator directly into your terminal and CI/CD pipelines. Seamlessly extract, translate, and sync your app's content across 200+ languages without leaving your workflow.

# 1. Install globally
$ pnpm install -g @translated/lara-cli

# 2. Create a .env file in your project root
LARA_ACCESS_KEY_ID=<YOUR_KEY_ID>
LARA_ACCESS_KEY_SECRET=<YOUR_KEY_SECRET>

# 3. Initialize your project
$ lara-cli init

Built for Developer Workflows

Stop copy-pasting translation files. The Lara CLI handles extraction, API communication, and file merging entirely from your command line.

  • GitHub Actions Ready

    Native support for GitHub Actions. Automate your localization pipeline on every git push or PR creation.

  • Format Agnostic

    Natively parses JSON, PO, MDX, TypeScript, Vue, and Android XML. The appropriate parser is selected based on extension.

  • Contextual Accuracy

    Pass custom instructions or contextual metadata via the CLI to ensure highly accurate, disambiguated translations.

  • Glossary Enforced

    Configure your .lara.yml to strictly enforce brand terminology using your uploaded translation memories.

Need more info about Lara's CLI?

Get in touch to discuss your specific needs or to schedule a live demo of our solutions in action.

I consent to be contacted by Lara for further information and demo. I have read and agree to the Privacy Policy*

Frequently Asked Questions

You can install Lara CLI globally using pnpm (pnpm install -g @translated/lara-cli). For project-specific installation, add it as a dev dependency and invoke it via npx lara.

Lara CLI is format-agnostic. By defining rules in your .lara.yml file, it natively supports JSON, PO, TypeScript, Vue, Markdown/MDX, and Android XML. The appropriate parser is automatically selected based on file extension.

The CLI tool itself is free to download. Translations processed through the CLI draw from your standard Lara API subscription or pay-as-you-go quota. There are no extra fees for using the CLI.