🎉 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

Automatic Retranslation

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

The Lingo.dev CLI automatically retranslates content when you modify the source text. The lockfile stores fingerprints for every source string - when a fingerprint changes, the CLI sends the updated content through the translation pipeline and replaces the old translation in all target files.

How it works#

json
// locales/en.json (original)
{ "button.save": "Save changes" }

// locales/es.json (generated)
{ "button.save": "Guardar cambios" }

After editing the source:

json
// locales/en.json (updated)
{ "button.save": "Save all changes" }

Running npx lingo.dev@latest run detects the new fingerprint and retranslates:

json
// locales/es.json (updated automatically)
{ "button.save": "Guardar todos los cambios" }

Unchanged keys are skipped entirely - only the modified key is sent to the translation backend.

What triggers retranslation#

ChangeRetranslated?
Source text modifiedYes
Source text unchangedNo
Key renamed, content unchangedNo - translation is carried forward
Key deleted from sourceTranslation removed from targets
New key added to sourceTranslated as new content

Overrides and automatic retranslation#

If you've manually overridden a translation, automatic retranslation replaces your override when the source changes. This is by design - a source change signals that the meaning has shifted and a fresh translation is needed.

To retranslate content for other reasons (model change, prompt update), see Retranslation.

Next Steps#

Retranslation
Manual retranslation options
i18n.lock
How fingerprinting tracks changes
Overrides
How manual edits are preserved
Remove Translations
Delete translations from target files

Was this page helpful?