Skip to main content
The pull command downloads all completed translations and writes them as JSON files to your locales directory.

Usage

Options

FlagDescription
--dry-runShow files that would be written without downloading
--jsonOutput machine-readable JSON

What it does

1

Fetch locale status

Queries the API for all configured locales and their translation status.
2

Download completed translations

Downloads the translated JSON content for each locale with status synced.
3

Write locale files

Writes each translation to the localesDir path as {locale}.json:

Examples

Download all completed translations:
Preview files that would be written:
If no synced translations are found, the CLI will suggest running lazylocales translate first.