Forecast Translation Costs with Usage Estimates β
Before running translations, get a clear picture of your project's localization status and expected word count usage with the status
command.
Safe to Run Anywhere: This command is read-only - it never writes files or triggers translation requests, making it perfect for CI environments and pre-translation planning.
Quick Status Check β
npx lingo.dev@latest status
When run in a project with an i18n.json
configuration, you'll receive a comprehensive report like this:
π LOCALIZATION STATUS REPORT
π SOURCE CONTENT:
- Source language: en
- Source keys: 254 keys across all files
π LANGUAGE BY LANGUAGE BREAKDOWN:
Language β Status β Complete β Missing β Updated β Total Keys β Words to Translate
βββββββββββΌβββββββββββββΌβββββββββββΌββββββββββΌββββββββββΌβββββββββββββΌβββββββββββββββββββ
ja β π΄ Not started β 0/254 β 254 β 0 β 254 β ~10,480
es β π΄ Not started β 0/254 β 254 β 0 β 254 β ~10,480
de β π΄ Not started β 0/254 β 254 β 0 β 254 β ~10,480
zh β π΄ Not started β 0/254 β 254 β 0 β 254 β ~10,480
π USAGE ESTIMATE:
- WORDS TO BE CONSUMED: ~41,920 words across all languages
(words are counted from source language for keys that need translation in target languages)
- Perβlanguage breakdown:
β ja: ~10,480 words (25.0% of total)
β es: ~10,480 words (25.0% of total)
β de: ~10,480 words (25.0% of total)
β zh: ~10,480 words (25.0% of total)
π‘ OPTIMISATION TIPS:
- ja, es, de, zh have no translations yet β translating one language at a time reduces complexity.
- Try `lingo.dev@latest i18n --locale ja` to process just one language.
Understanding the Report β
The status report provides three key insights:
1. Source Content Overview β
See at a glance how many translation keys exist in your source language files.
2. Language-by-Language Status β
For each target language, view:
- Completion percentage
- Missing and updated key counts
- Total keys to process
- Estimated word count for translation
3. Usage Forecast β
Get a precise estimate of:
- Total AI word count that will be consumed
- Per-language breakdown with percentages
- Smart optimization suggestions
Word Count Calculation β
The report uses two important metrics:
- Words to Translate: Source-language word count for content needing translation in each target language
- Words to be Consumed: Total across all languages - this matches what you'll see in your usage dashboard
Consistent Measurement: Word counts are always calculated from the source language, ensuring stable estimates regardless of target language verbosity.
Troubleshooting Tips β
- Configuration Not Found? Ensure you're running the command from your project root directory
- Slight Variations in Final Count: Actual usage may differ slightly due to plural rules and interpolation placeholders being resolved during translation
For additional options, run:
npx lingo.dev@latest status --help
Use this command before translation runs to plan your localization strategy, manage costs, and optimize your workflow.