DevOps

Streamlining Your Workflow with the Localess CLI

The Localess CLI lets you manage schemas, push translations, and automate deployments straight from your terminal.

·
James Park· Senior Engineer
The Localess CLI lets you manage schemas, push translations, and automate deployments straight from your terminal.

The Localess CLI is the developer's Swiss Army knife for content operations. Here's how to make the most of it.

Authentication

localess login

Your credentials are stored securely in the system keychain.

Pushing schema changes

Keep your schemas in version control and push them to Localess as part of your CI pipeline:

localess types push --space <spaceId>

Exporting translations

Export all translation strings to a JSON file for handoff to your translation team:

localess translations export --locale en --output ./translations/en.json

Importing translations

Once translated, import them back:

localess translations import --locale fr --input ./translations/fr.json