CLI Commands
scaffold
Create empty locale files for new languages, copying the key structure of the default locale with every value set to an empty string.
Synopsis
the-i18n-cli scaffold
Flags
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--locales | string | no | — | Locale codes to scaffold empty files for (e.g., "sv", "ja", "pt-BR"). If omitted, auto-detects the locales the config declares but has no files for. Comma-separated. |
--layer | string | no | — | Layer to scaffold in (e.g., "root", "app-admin"). If omitted, scaffolds across every layer. |
--dryRun | boolean | no | false | Report the files that would be created without writing them. Default: false. |