Detecting missing and unused i18next translation keys in a React project

A translation key is just a string that points to a JSON entry, so nothing by default confirms it exists in every locale. The author describes how a missing key can leave users seeing raw key names, or silently fall back to English without anyone noticing. A jq-based diff script can compare key paths between locale files, though it needs to run per namespace and per locale and cannot reliably detect unused keys. For day-to-day work, the author built I18n Support Plus, an open-source MIT plugin for JetBrains IDEs that flags keys by locale coverage and shows values inline. The article is written by the plugin's maintainer, which the author notes openly.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in