LangSync

langsync init

Initialize a new LangSync configuration in the current project.

Scaffolds a typed langsync.config.ts (or .json with --json) and creates the i18n directory structure based on your answers.

pnpm langsync init

Flags

FlagDescription
--forceOverwrite an existing config file without asking.
--jsonEmit langsync.config.json instead of .ts.
--yesAccept all defaults; skip prompts.

On this page