Skip to main content
The push command uploads your source locale file to LazyLocales and computes a diff against the previous version. It does not trigger translation — use translate for that.

Usage

Options

FlagDescription
--dry-runShow what would be pushed without uploading
--jsonOutput machine-readable JSON

What it does

1

Read source file

Reads the source locale file from the path defined in your config (e.g. ./public/locales/en.json).
2

Upload to LazyLocales

Sends the file content to the API. The server computes a diff against the previous version and stores the new version.
3

Show diff summary

Displays what changed:

Examples

Push the source file:
Preview what would be pushed: