lingo.dev init
CLI reference docs for init command
Introduction
Create i18n.json configuration file for a new project
Usage
lingo.dev init [options]
Options
-s --source <locale>
lingo.dev init --source <locale>
Primary language of your application that content will be translated from. Defaults to 'en'
Requires a value. Default: en.
-t --targets <locale...>
lingo.dev init --targets <locale...>
Target languages to translate to. Accepts locale codes like 'es', 'fr', 'de-AT' separated by commas or spaces. Defaults to 'es'
Requires a value. Default: es.
-b, --bucket <type>
lingo.dev init --bucket <type>
File format for your translation files. Must match a supported type such as json, yaml, or android
Requires a value. Default: json.
-p, --paths [path...]
lingo.dev init --paths [path...]
File paths containing translations when using --no-interactive mode. Specify paths with [locale] placeholder, separated by commas or spaces
Accepts an optional value. Default: [].
Flags
-f --force
lingo.dev init --force
Overwrite existing Lingo.dev configuration instead of aborting initialization (destructive operation)
Default: false.
-y, --no-interactive
lingo.dev init --no-interactive
Run every command in non-interactive mode (no prompts); required when scripting