🎉 v1.0

Get started

  • Welcome
  • Documentation
  • Pricing
    Soon

Tools

  • I18n MCP
  • CLI
  • CI/CD Integrations
  • Compiler
    Alpha
  • Connect Your Engine

Resources

  • Languages
  • LLM Models
  • Guides

Company

  • Enterprise
  • CareersHiring!
Dashboard

Lingo.dev CLI

  • How it works
  • Setup

Configuration

  • Supported formats
  • i18n.json
  • i18n.lock

Features

  • Existing translations
  • Adding languages
  • Overrides
  • Translator Notes
  • Translation keys
    • Key renaming
    • Key locking
    • Key ignoring
    • Key preserving

Performance

  • Large projects
  • Parallel processing

Retranslation

  • Automatic Retranslation
  • Retranslation
  • Remove translations

Key Ignoring

Max PrilutskiyMax Prilutskiy·Updated 1 day ago·1 min read

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?