5.x), the MCP server, and scan. They keep working for teams that adopted them, but new integrations should start with Scan your repo.
Legacy CLI mode
Version5.x of the Ditto CLI pulls text from the current version of Ditto by default and still supports every 4.x feature behind the --legacy flag. Add the flag to any command that v4.5.2 supported:
-c:
Ditto React SDK
ditto-react is a React and React Native library that reads the JSON string files written by the CLI and exposes them through a provider and hooks, with first-class support for variants. It works with all JSON output formats.
Installation and usage are in the package README on npm. Issues go to dittowords/ditto-react. The library’s last release was 1.6.3; new React projects can use the CLI’s i18next output with react-i18next instead, which needs no Ditto-specific runtime dependency.