Skip to main content
Create a .nt3.yml configuration file in the current directory. This file tells the CLI which project to sync, where your translation files are located, and which format they use.

Usage

Interactive mode

Running nt3 init without flags launches an interactive prompt:

Non-interactive mode

Provide the --project-id flag to skip all prompts. Remaining flags are optional and fall back to their defaults:
Providing --project-id activates non-interactive mode. Any unprovided option uses its default value.

Options

Output

nt3 init creates a .nt3.yml file in the current directory:
The {lang} placeholder in the path is replaced with the language code at runtime — for example, locales/fr/messages.po for French.

The —force flag

If .nt3.yml already exists, nt3 init exits with an error to prevent accidental overwrites:
Use --force to replace the existing config:

Supported formats

Finding your Project ID

Your Project ID is available in the Entri dashboard under Project Settings. It starts with proj_.

Next steps

After initializing your project, push your source translation file:
For more configuration options — including multiple file patterns and namespaces — see the configuration reference.