JSON i18n Key Manager
Analyze and manage JSON i18n locale files. Flatten keys with dot notation, get section summaries, and find missing translation keys by comparing two locales.
Features
🌍 Key Flattening
- Dot notation: common.ok
- Bracket notation: common[ok]
- Unlimited nesting depth
- Section summary counts
🔎 Missing Keys Finder
- Compare two locale files
- Keys in primary but missing in compare
- Keys in compare but missing in primary
- Instant diff report
📊 Statistics
- Total key count
- Section breakdown
- Max nesting depth
- Empty value detection
i18n Management Guide
JSON i18n Format
Most i18n frameworks (react-i18next, vue-i18n, i18next) use nested JSON files. This tool flattens them to dot-notation for easy auditing.
// en.json
{
"common": { "ok": "OK", "cancel": "Cancel" },
"nav": { "home": "Home" }
}
// Flattened:
common.ok = "OK"
common.cancel = "Cancel"
nav.home = "Home"