Usage
Examples
Options
| Flag | Description |
|---|---|
-l, --language <lang> | Pull a specific language only (e.g., -l fr) |
--json | Output results as JSON |
How pull works
nt3 pull fetches translations from the Entri export API and writes them to the file paths defined in your .nt3.yml. The {lang} placeholder in each file pattern is replaced with the language code.
For example, with this config:
nt3 pull with French and Dutch configured as target languages writes:
src/locales/fr.jsonsrc/locales/nl.json
Pulling a single language
Use-l to pull one language at a time instead of all configured languages:
JSON output
With--json, the command suppresses progress output and prints a structured result:
error field and the process exits with code 1.
What gets exported
The export reflects the current state of translations in Entri — all keys with their latest translated values. Keys that have not been translated yet are included with their source-language fallback value, depending on the export format. To ensure translations are up to date before pulling, runnt3 translate --all first, or trigger translation from the Entri dashboard.