|Labs
Book a DemoPlatform
React (Lingo Compiler)
Alpha
React (MCP)React (i18n)Legacy CLI (v0)
Deprecated

Lingo.dev CLI

  • How it works
  • Setup
  • Quick Start
  • Monorepos

Configuration

  • Supported Formats
  • i18n.json
  • i18n.lock
  • Supported Locales

Features

  • Existing Translations
  • Adding Languages
  • Overrides
  • Translator Notes
  • Translation Keys
  • Key Renaming
  • Key Locking
  • Key Ignoring
  • Key Preserving
  • Extract Keys with AI

Performance

  • Large Projects
  • Parallel Processing
  • Cost Estimate

Retranslation

  • Automatic Retranslation
  • Retranslation
  • Remove Translations

These docs cover the legacy CLI (v0) and are deprecated. The current CLI is v1. See the current CLI docs

Key Ignoring

Ignored keys are excluded from translation processing entirely. They do not appear in target files - the CLI skips them during content discovery and never sends them to the translation backend.

Configuration#

Add ignoredKeys to a bucket in i18n.json:

json
{
  "buckets": {
    "json": {
      "include": ["locales/[locale].json"],
      "ignoredKeys": ["internal/debug", "dev/testData"]
    }
  }
}

How it works#

Given this source file:

json
{
  "welcome": "Welcome to our platform",
  "internal": {
    "debug": "Debug mode enabled",
    "testData": "Sample test content"
  }
}

With "ignoredKeys": ["internal/debug", "internal/testData"], the Spanish target file becomes:

json
{
  "welcome": "Bienvenido a nuestra plataforma"
}

The entire internal section is absent from the target file.

Key path notation#

Use forward slash (/) for nested keys and asterisk (*) for wildcards:

json
{ "ignoredKeys": ["internal/*", "dev/settings"] }

Keys containing dots work naturally - dev/api.mock targets "api.mock" inside "dev".

Key Ignoring vs. Key Locking#

Key IgnoringKey Locking
Appears in target filesNoYes - with source value
Use caseDebug, test, internal contentBrand names, technical IDs

Next Steps#

Key Locking
Copy values without translation
Key Preserving
Initialize once, then protect from updates
Translation Keys
Overview of all key-level controls
i18n.json
Full configuration reference

Was this page helpful?

Max PrilutskiyMax Prilutskiy·Updated about 2 months ago·1 min read