Skip to main content

What is LazyLocales?

LazyLocales is an AI-powered translation management platform that makes internationalization effortless. Translate your application into multiple languages with a single CLI command — no manual work, no spreadsheets, no copy-pasting.

Quickstart

Get up and running in under 5 minutes

CLI Reference

Explore all CLI commands

API Reference

Programmatic access via REST API

CI/CD Setup

Automate translations in your pipeline

How it works

1

Install the CLI

Add lazylocales to your project as a dev dependency.
npm install --save-dev lazylocales
2

Authenticate

Log in with your LazyLocales account.
npx lazylocales login
3

Translate

Run a single command. The CLI detects your source file, computes changes, and translates only what’s new.
npx lazylocales translate
4

Ship it

Translated JSON files are written to your locales directory, ready to use.

Key features

High-quality translations powered by GPT-4o with context awareness. Supports pluralization, interpolation variables, and technical terminology.
Only changed or new keys are translated. Existing translations are preserved and diffs are computed automatically.
Everything runs from your terminal. The CLI handles source file detection, diff computation, job polling, and file output.
Fetch translations at runtime using i18next-http-backend and the LazyLocales API — no rebuild required when translations update.
Generate project API tokens for non-interactive translation runs in your deployment pipeline.